ENH: allow duplicate libraries

This commit is contained in:
Bill Hoffman 2001-05-23 09:35:14 -04:00
parent a75ff81d08
commit e606732b94
1 changed files with 1 additions and 4 deletions

View File

@ -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);
}
}