Genex: use cmGeneratorTarget policy API
This commit is contained in:
parent
7d409f500e
commit
4c6374bcc5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue