Browse Source

cmTarget: Request only the link libraries where needed.

Stephen Kelly 10 years ago
parent
commit
7568199b4d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmTarget.cxx

+ 2 - 1
Source/cmTarget.cxx

@@ -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)