summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-05-02 17:17:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-05-02 17:17:10 (GMT)
commit27fe57b716555ffa31b16e98841c7f1a82228740 (patch)
tree361f44d30ef7bdba9c37b389824ac9670801177e /Source/cmUnixMakefileGenerator.cxx
parentb5b46599feb33d7f873faca6215f1717ddd209e6 (diff)
downloadCMake-27fe57b716555ffa31b16e98841c7f1a82228740.zip
CMake-27fe57b716555ffa31b16e98841c7f1a82228740.tar.gz
CMake-27fe57b716555ffa31b16e98841c7f1a82228740.tar.bz2
ENH: change LINK_LIBRARY to add to targets
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 9a31a20..5609bda 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -890,22 +890,6 @@ void cmUnixMakefileGenerator::OutputDependLibs(std::ostream& fout)
// A library should not depend on itself!
emitted.insert(l->first);
- // First look at all makefile level link libraries.
- const cmTarget::LinkLibraries& libs = m_Makefile->GetLinkLibraries();
- for(cmTarget::LinkLibraries::const_iterator lib = libs.begin();
- lib != libs.end(); ++lib)
- {
- // Record that this library was used.
- used.insert(lib->first);
-
- // Don't emit the same library twice for this target.
- if(emitted.insert(lib->first).second)
- {
- // Output this dependency.
- this->OutputLibDepend(fout, lib->first.c_str());
- }
- }
-
// Now, look at all link libraries specific to this target.
const cmTarget::LinkLibraries& tlibs = l->second.GetLinkLibraries();
for(cmTarget::LinkLibraries::const_iterator lib = tlibs.begin();