summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-16 02:45:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 09:14:31 (GMT)
commitf539da126b55933fae6f40feea35e820cb632877 (patch)
tree56dea90429885cde913f283475b8ef7a4d85cc01 /Source/cmGeneratorExpressionNode.cxx
parent1c5d70f9c2b9b7e2aeaf1515ef72a6e9282ecde0 (diff)
downloadCMake-f539da126b55933fae6f40feea35e820cb632877.zip
CMake-f539da126b55933fae6f40feea35e820cb632877.tar.gz
CMake-f539da126b55933fae6f40feea35e820cb632877.tar.bz2
cmGeneratorTarget: Port GetLinkInterfaceLibraries away from cmTarget.
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index fdacc82..78a5b6f 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -1109,8 +1109,11 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
if(isInterfaceProperty)
{
+ cmGeneratorTarget* gHeadTarget =
+ context->Makefile->GetGlobalGenerator()
+ ->GetGeneratorTarget(headTarget);
if(cmLinkInterfaceLibraries const* iface =
- gtgt->GetLinkInterfaceLibraries(context->Config, headTarget, true))
+ gtgt->GetLinkInterfaceLibraries(context->Config, gHeadTarget, true))
{
linkedTargetsContent =
getLinkedTargetsContent(iface->Libraries, target,