diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index d234cb6c7..77d0cce32 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -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); } }