summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-22 23:14:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-27 06:44:21 (GMT)
commit4c6374bcc56ea7d7f7e67c518e60de94be267256 (patch)
treec89e4f849efd96e8eac46a2745a9185cf5a15755 /Source/cmGeneratorExpressionNode.cxx
parent7d409f500e3403f8dbb4a0fee6ecdad94f45c35e (diff)
downloadCMake-4c6374bcc56ea7d7f7e67c518e60de94be267256.zip
CMake-4c6374bcc56ea7d7f7e67c518e60de94be267256.tar.gz
CMake-4c6374bcc56ea7d7f7e67c518e60de94be267256.tar.bz2
Genex: use cmGeneratorTarget policy API
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 03f8d3f..7e75d93 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -1442,7 +1442,7 @@ cmPolicies::PolicyStatus statusForTarget(cmGeneratorTarget const* tgt,
#define RETURN_POLICY(POLICY) \
if (strcmp(policy, #POLICY) == 0) \
{ \
- return tgt->Target->GetPolicyStatus ## POLICY (); \
+ return tgt->GetPolicyStatus ## POLICY (); \
} \
CM_FOR_EACH_TARGET_POLICY(RETURN_POLICY)