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 246a5d3..39a8096 100644 --- a/Source/cmLinkLibrariesCommand.cxx +++ b/Source/cmLinkLibrariesCommand.cxx @@ -70,7 +70,7 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string>& args) m_Makefile->AddLinkLibrary(i->c_str()); } - const char* dir = cmCacheManager::GetInstance()->GetCacheValue(i->c_str()); + const char* dir = m_Makefile->GetDefinition(i->c_str()); if( dir ) { m_Makefile->AddLinkDirectory( dir ); |