cmTarget: Request only the link libraries where needed.

This commit is contained in:
Stephen Kelly 2015-08-04 19:22:30 +02:00
parent 10040601a2
commit 7568199b4d
1 changed files with 2 additions and 1 deletions

View File

@ -2099,7 +2099,8 @@ cmTarget::GetIncludeDirectories(const std::string& config,
if(this->Makefile->IsOn("APPLE"))
{
LinkImplementation const* impl = this->GetLinkImplementation(config);
cmLinkImplementationLibraries const* impl =
this->GetLinkImplementationLibraries(config);
for(std::vector<cmLinkImplItem>::const_iterator
it = impl->Libraries.begin();
it != impl->Libraries.end(); ++it)