summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-18 16:24:09 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-02-18 16:24:15 (GMT)
commita0318e8fc8f65c4c5ee8ffd3e2d886dbe5a2f795 (patch)
tree7144f287d6043cbed8cec80c9e0c92ded071e3a7 /Source
parentb841fdcb9e91e848e57f81129eaf6a1f9b0c0a2d (diff)
parentc78ae16d81bd5fdc317d3d395978efcfcd6ec6cd (diff)
downloadCMake-a0318e8fc8f65c4c5ee8ffd3e2d886dbe5a2f795.zip
CMake-a0318e8fc8f65c4c5ee8ffd3e2d886dbe5a2f795.tar.gz
CMake-a0318e8fc8f65c4c5ee8ffd3e2d886dbe5a2f795.tar.bz2
Merge topic 'deprecate-policy-old'
c78ae16d81 Add deprecation warnings for policies CMP0071 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4369
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index b2e59bd..ed627f8 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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.