ENH: allow duplicate libraries
This commit is contained in:
parent
a75ff81d08
commit
e606732b94
|
@ -82,10 +82,7 @@ void cmTarget::MergeLibraries(const LinkLibraries &ll)
|
|||
LinkLibraries::const_iterator p = ll.begin();
|
||||
for (;p != ll.end(); ++p)
|
||||
{
|
||||
if (std::find(m_LinkLibraries.begin(),m_LinkLibraries.end(),*p) == m_LinkLibraries.end())
|
||||
{
|
||||
m_LinkLibraries.push_back(*p);
|
||||
}
|
||||
m_LinkLibraries.push_back(*p);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue