summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-23 13:35:14 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-23 13:35:14 (GMT)
commite606732b941f73d2183a7ccf87beb38abc2832d9 (patch)
tree21f9cc29bc66b0231f9d16b77934cbd537e52660 /Source/cmTarget.cxx
parenta75ff81d0821796d1a23a6636610c59b7b38a561 (diff)
downloadCMake-e606732b941f73d2183a7ccf87beb38abc2832d9.zip
CMake-e606732b941f73d2183a7ccf87beb38abc2832d9.tar.gz
CMake-e606732b941f73d2183a7ccf87beb38abc2832d9.tar.bz2
ENH: allow duplicate libraries
Diffstat (limited to 'Source/cmTarget.cxx')
-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);
}
}