diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLinkLibrariesCommand.cxx | 4 | ||||
-rw-r--r-- | Source/cmTargetLinkLibrariesCommand.cxx | 4 |
2 files changed, 8 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; 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; } |