diff options
author | Brad King <brad.king@kitware.com> | 2006-01-13 23:33:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-01-13 23:33:51 (GMT) |
commit | 327489ae590087064cbff1f924b8a44c8e835557 (patch) | |
tree | bf2acb0404d00c731a213cdfd92268aa0135aaa9 /Source/cmLocalGenerator.cxx | |
parent | 22c62c9e65817e25b077f88222c682efa0188ccb (diff) | |
download | CMake-327489ae590087064cbff1f924b8a44c8e835557.zip CMake-327489ae590087064cbff1f924b8a44c8e835557.tar.gz CMake-327489ae590087064cbff1f924b8a44c8e835557.tar.bz2 |
COMP: Removed unused paramter from cmLocalGenerator::OutputLinkLibraries.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 28e32c8..ed6e372 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1223,7 +1223,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, linkFlags += " "; } cmOStringStream linklibsStr; - this->OutputLinkLibraries(linklibsStr, target.GetName(), target); + this->OutputLinkLibraries(linklibsStr, target); linkLibs = linklibsStr.str(); } break; @@ -1256,7 +1256,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, flags += m_Makefile->GetSafeDefinition(sharedFlagsVar.c_str()); flags += " "; cmOStringStream linklibs; - this->OutputLinkLibraries(linklibs, 0, target); + this->OutputLinkLibraries(linklibs, target); linkLibs = linklibs.str(); if(cmSystemTools::IsOn(m_Makefile->GetDefinition("BUILD_SHARED_LIBS"))) { @@ -1296,7 +1296,6 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, * to the name of the library. This will not link a library against itself. */ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout, - const char* targetLibrary, cmTarget &tgt) { // Try to emit each search path once |