ENH: allow duplicate libraries
This commit is contained in:
parent
a75ff81d08
commit
e606732b94
|
@ -81,12 +81,9 @@ void cmTarget::MergeLibraries(const LinkLibraries &ll)
|
||||||
|
|
||||||
LinkLibraries::const_iterator p = ll.begin();
|
LinkLibraries::const_iterator p = ll.begin();
|
||||||
for (;p != ll.end(); ++p)
|
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