Genex: use cmGeneratorTarget policy API

This commit is contained in:
Stephen Kelly 2015-10-23 01:14:08 +02:00
parent 7d409f500e
commit 4c6374bcc5
1 changed files with 1 additions and 1 deletions

View File

@ -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)