ENH: Make it unnecessary to ever specify LINK_DIRECTORIES for any library
generated in this project, even when LIBRARY_OUTPUT_PATH is set.
This commit is contained in:
parent
2ba1ee8672
commit
5e1d9ed39e
|
@ -57,6 +57,10 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& argsIn)
|
|||
m_Makefile->AddLinkDirectory( dir );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Makefile->AddLinkDirectory( ldir );
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -60,6 +60,10 @@ bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string> const& a
|
|||
m_Makefile->AddLinkDirectory( dir );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Makefile->AddLinkDirectory( ldir );
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue