|
|
@@ -4554,7 +4554,7 @@ bool cmMakefile::SetPolicy(cmPolicies::PolicyID id,
|
|
|
|
|
|
// Deprecate old policies, especially those that require a lot
|
|
|
// of code to maintain the old behavior.
|
|
|
- if (status == cmPolicies::OLD && id <= cmPolicies::CMP0071 &&
|
|
|
+ if (status == cmPolicies::OLD && id <= cmPolicies::CMP0072 &&
|
|
|
!(this->GetCMakeInstance()->GetIsInTryCompile() &&
|
|
|
(
|
|
|
// Policies set by cmCoreTryCompile::TryCompileCode.
|