summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2002-04-28 20:14:21 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2002-04-28 20:14:21 (GMT)
commit5e1d9ed39e252dc3c7bf3310842e5445b0519edc (patch)
tree059b8f348c18fdec7e98cf0771737fb072ceed0e /Source/cmLinkLibrariesCommand.cxx
parent2ba1ee8672911622d16b1914076fd0df63c62cdb (diff)
downloadCMake-5e1d9ed39e252dc3c7bf3310842e5445b0519edc.zip
CMake-5e1d9ed39e252dc3c7bf3310842e5445b0519edc.tar.gz
CMake-5e1d9ed39e252dc3c7bf3310842e5445b0519edc.tar.bz2
ENH: Make it unnecessary to ever specify LINK_DIRECTORIES for any library
generated in this project, even when LIBRARY_OUTPUT_PATH is set.
Diffstat (limited to 'Source/cmLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmLinkLibrariesCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLinkLibrariesCommand.cxx b/Source/cmLinkLibrariesCommand.cxx
index 1cc8b17..4024f91 100644
--- a/Source/cmLinkLibrariesCommand.cxx
+++ b/Source/cmLinkLibrariesCommand.cxx
@@ -57,6 +57,10 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& argsIn)
m_Makefile->AddLinkDirectory( dir );
}
}
+ else
+ {
+ m_Makefile->AddLinkDirectory( ldir );
+ }
}
return true;