|
|
@@ -4492,7 +4492,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::CMP0069 &&
|
|
|
+ if (status == cmPolicies::OLD && id <= cmPolicies::CMP0071 &&
|
|
|
!(this->GetCMakeInstance()->GetIsInTryCompile() &&
|
|
|
(
|
|
|
// Policies set by cmCoreTryCompile::TryCompileCode.
|