summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:22:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-07 15:06:15 (GMT)
commit7568199b4de18ed56ad8ef735c145c4a44327355 (patch)
tree25f6d75b975d6b13c905ba01cf80ae6ece13aa39 /Source/cmTarget.cxx
parent10040601a2e13cbb0653a20c55c1c696b5cacf29 (diff)
downloadCMake-7568199b4de18ed56ad8ef735c145c4a44327355.zip
CMake-7568199b4de18ed56ad8ef735c145c4a44327355.tar.gz
CMake-7568199b4de18ed56ad8ef735c145c4a44327355.tar.bz2
cmTarget: Request only the link libraries where needed.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 1d4313e..7b25819 100644
--- a/Source/cmTarget.cxx
+++ b/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)