summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-16 02:40:14 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 09:14:31 (GMT)
commit1c5d70f9c2b9b7e2aeaf1515ef72a6e9282ecde0 (patch)
treea41705f23fce5e2b5a398833b080894a5d16b60b /Source
parent064c2488119269e88422ea444f87bdd44c4f6589 (diff)
downloadCMake-1c5d70f9c2b9b7e2aeaf1515ef72a6e9282ecde0.zip
CMake-1c5d70f9c2b9b7e2aeaf1515ef72a6e9282ecde0.tar.gz
CMake-1c5d70f9c2b9b7e2aeaf1515ef72a6e9282ecde0.tar.bz2
cmGeneratorTarget: Port processILibs away from cmTarget.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorTarget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 8ff78e0..71506d1 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -2047,7 +2047,7 @@ void cmGeneratorTarget::GetAutoUicOptions(std::vector<std::string> &result,
//----------------------------------------------------------------------------
void processILibs(const std::string& config,
- cmTarget const* headTarget,
+ cmGeneratorTarget const* headTarget,
cmLinkItem const& item,
cmGlobalGenerator* gg,
std::vector<cmTarget const*>& tgts,
@@ -2058,7 +2058,7 @@ void processILibs(const std::string& config,
tgts.push_back(item.Target);
cmGeneratorTarget* gt = gg->GetGeneratorTarget(item.Target);
if(cmLinkInterfaceLibraries const* iface =
- gt->GetLinkInterfaceLibraries(config, headTarget, true))
+ gt->GetLinkInterfaceLibraries(config, headTarget->Target, true))
{
for(std::vector<cmLinkItem>::const_iterator
it = iface->Libraries.begin();
@@ -2089,7 +2089,7 @@ cmGeneratorTarget::GetLinkImplementationClosure(
it = impl->Libraries.begin();
it != impl->Libraries.end(); ++it)
{
- processILibs(config, this->Target, *it,
+ processILibs(config, this, *it,
this->LocalGenerator->GetGlobalGenerator(),
tgts , emitted);
}