summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-19 22:44:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 22:52:22 (GMT)
commit6d94078e623d5f1316f1972ffda06ac1d66b6f2f (patch)
treed1d5d0ec8710fdae937cfbd9627015376bc3c12a /Source/cmGeneratorExpressionNode.cxx
parent3ebc62850c7461dca4723b063b5e5f019409db84 (diff)
downloadCMake-6d94078e623d5f1316f1972ffda06ac1d66b6f2f.zip
CMake-6d94078e623d5f1316f1972ffda06ac1d66b6f2f.tar.gz
CMake-6d94078e623d5f1316f1972ffda06ac1d66b6f2f.tar.bz2
cmGeneratorTarget: Move IsDLLPlatform 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 1a878e2..7a7e4ff 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -1579,7 +1579,7 @@ struct TargetFilesystemArtifactResultCreator<ArtifactSonameTag>
const GeneratorExpressionContent *content)
{
// The target soname file (.so.1).
- if(target->Target->IsDLLPlatform())
+ if(target->IsDLLPlatform())
{
::reportError(context, content->GetOriginalExpression(),
"TARGET_SONAME_FILE is not allowed "