summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 23:18:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-12 16:39:58 (GMT)
commitceb35b63a796235bb76284b3fb4046208365e23f (patch)
treef023761134dfe519e9faa11139b844d141c582bf /Source/cmGeneratorExpressionNode.cxx
parentbf2d061ad37088be9ea6f135a980d14c4e76064b (diff)
downloadCMake-ceb35b63a796235bb76284b3fb4046208365e23f.zip
CMake-ceb35b63a796235bb76284b3fb4046208365e23f.tar.gz
CMake-ceb35b63a796235bb76284b3fb4046208365e23f.tar.bz2
cmLinkItem: Port to cmGeneratorTarget.
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index 78a5b6f..7e47261 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -846,7 +846,7 @@ getLinkedTargetsContent(
// Broken code can have a target in its own link interface.
// Don't follow such link interface entries so as not to create a
// self-referencing loop.
- if (it->Target && it->Target != target)
+ if (it->Target && it->Target->Target != target)
{
depString +=
sep + "$<TARGET_PROPERTY:" +