summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmTarget.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index d234cb6..77d0cce 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);
}
}