From e606732b941f73d2183a7ccf87beb38abc2832d9 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 23 May 2001 09:35:14 -0400 Subject: [PATCH] ENH: allow duplicate libraries --- Source/cmTarget.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } }