Skip to content
Snippets Groups Projects
Commit 17b02b65 authored by Amitha Perera's avatar Amitha Perera
Browse files

ENH: LINK_LIBRARIES(abc) will automatically add the path to abc to the

link directories, if the path is known.
parent 1f773c3e
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,12 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string>& args)
{
m_Makefile->AddLinkLibrary(i->c_str());
}
const char* dir = cmCacheManager::GetInstance()->GetCacheValue(i->c_str());
if( dir )
{
m_Makefile->AddLinkDirectory( dir );
}
}
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment