summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmLinkLibrariesCommand.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmLinkLibrariesCommand.cxx b/Source/cmLinkLibrariesCommand.cxx
index c34cd3c..ec51212 100644
--- a/Source/cmLinkLibrariesCommand.cxx
+++ b/Source/cmLinkLibrariesCommand.cxx
@@ -54,21 +54,6 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& args)
{
m_Makefile->AddLinkLibrary(i->c_str());
}
-
- const char* ldir = m_Makefile->GetDefinition("LIBRARY_OUTPUT_PATH");
- if (cmSystemTools::IsOff(ldir))
- {
- std::string libPath = *i + "_CMAKE_PATH";
- const char* dir = m_Makefile->GetDefinition(libPath.c_str());
- if( dir && *dir )
- {
- m_Makefile->AddLinkDirectory( dir );
- }
- }
- else
- {
- m_Makefile->AddLinkDirectory( ldir );
- }
}
return true;