diff options
Diffstat (limited to 'Source/cmLinkLibrariesCommand.cxx')
-rw-r--r-- | Source/cmLinkLibrariesCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLinkLibrariesCommand.cxx b/Source/cmLinkLibrariesCommand.cxx index d45f246..56d4937 100644 --- a/Source/cmLinkLibrariesCommand.cxx +++ b/Source/cmLinkLibrariesCommand.cxx @@ -50,7 +50,7 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& args) { std::string libPath = *i + "_CMAKE_PATH"; const char* dir = m_Makefile->GetDefinition(libPath.c_str()); - if( dir ) + if( dir && *dir ) { m_Makefile->AddLinkDirectory( dir ); } |