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:
Amitha Perera 2002-04-28 16:14:21 -04:00
parent 2ba1ee8672
commit 5e1d9ed39e
2 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,10 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& argsIn)
m_Makefile->AddLinkDirectory( dir );
}
}
else
{
m_Makefile->AddLinkDirectory( ldir );
}
}
return true;

View File

@ -60,6 +60,10 @@ bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string> const& a
m_Makefile->AddLinkDirectory( dir );
}
}
else
{
m_Makefile->AddLinkDirectory( ldir );
}
}
return true;
}