summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 21:44:11 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-19 18:27:40 (GMT)
commit8e20ea6ef2258867bd6554536fa7b914f266df96 (patch)
treed999ce9be3f883ce7a4357a8c2b3ccf3b4fd38ef /Source/cmGeneratorExpressionNode.cxx
parenta527abf0995fc1bdd45afdb20e80b728dd0ef045 (diff)
downloadCMake-8e20ea6ef2258867bd6554536fa7b914f266df96.zip
CMake-8e20ea6ef2258867bd6554536fa7b914f266df96.tar.gz
CMake-8e20ea6ef2258867bd6554536fa7b914f266df96.tar.bz2
cmGeneratorTarget: Move IsLinkable from cmTarget.
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 c7c0e73..1a878e2 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -1654,7 +1654,7 @@ struct TargetFilesystemArtifactResultCreator<ArtifactLinkerTag>
const GeneratorExpressionContent *content)
{
// The file used to link to the target (.so, .lib, .a).
- if(!target->Target->IsLinkable())
+ if(!target->IsLinkable())
{
::reportError(context, content->GetOriginalExpression(),
"TARGET_LINKER_FILE is allowed only for libraries and "