diff options
author | Brad King <brad.king@kitware.com> | 2020-06-15 13:00:07 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-06-15 13:00:12 (GMT) |
commit | ca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55 (patch) | |
tree | d2243617412a8fe4f59562d5d0e33aa7fdb8e7ab /Source | |
parent | 109ded58ab1c0d70c00cdfad11cb51edca54f3ac (diff) | |
parent | 9710790a39e2c075eeef06ed529d568385a4f445 (diff) | |
download | CMake-ca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55.zip CMake-ca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55.tar.gz CMake-ca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55.tar.bz2 |
Merge topic 'deprecate-policy-old'
9710790a39 Help/dev: Add maintainer guide step for initial post-release development
6f6651f728 Add deprecation warnings for policies CMP0072 and below
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4884
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index c78b751..5c3063b 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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. |