diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2002-04-28 20:14:21 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2002-04-28 20:14:21 (GMT) |
commit | 5e1d9ed39e252dc3c7bf3310842e5445b0519edc (patch) | |
tree | 059b8f348c18fdec7e98cf0771737fb072ceed0e /Source/cmTargetLinkLibrariesCommand.cxx | |
parent | 2ba1ee8672911622d16b1914076fd0df63c62cdb (diff) | |
download | CMake-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/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r-- | Source/cmTargetLinkLibrariesCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx index e6d7689..34c57a3 100644 --- a/Source/cmTargetLinkLibrariesCommand.cxx +++ b/Source/cmTargetLinkLibrariesCommand.cxx @@ -60,6 +60,10 @@ bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string> const& a m_Makefile->AddLinkDirectory( dir ); } } + else + { + m_Makefile->AddLinkDirectory( ldir ); + } } return true; } |