diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-14 21:14:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-14 22:41:19 (GMT) |
commit | 983c00f8f97260e7650fcc440047b33898f0363c (patch) | |
tree | 49fc7fc17465e7d613e82d6cf305fdc4bf3f2f12 /Source/cmGeneratorExpressionNode.cxx | |
parent | 088fcbf733a7d1968fc3586a7077f22cb41e1917 (diff) | |
download | CMake-983c00f8f97260e7650fcc440047b33898f0363c.zip CMake-983c00f8f97260e7650fcc440047b33898f0363c.tar.gz CMake-983c00f8f97260e7650fcc440047b33898f0363c.tar.bz2 |
Generators: Use GetType from the cmGeneratorTarget.
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionNode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx index fe83b08..9958672 100644 --- a/Source/cmGeneratorExpressionNode.cxx +++ b/Source/cmGeneratorExpressionNode.cxx @@ -1632,7 +1632,7 @@ struct TargetFilesystemArtifactResultCreator<ArtifactPdbTag> return std::string(); } - cmTarget::TargetType targetType = target->Target->GetType(); + cmTarget::TargetType targetType = (cmTarget::TargetType)target->GetType(); if(targetType != cmTarget::SHARED_LIBRARY && targetType != cmTarget::MODULE_LIBRARY && |