summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-02 13:44:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-02 13:44:41 (GMT)
commit817331aae8c9f166baa7ada5e015dcb5442c0038 (patch)
tree8e56dc25efaaccbcb8b2cefec224da26738eddc2 /Source
parent193e40daa5012b13b8de6202a89c24257be327fa (diff)
parenta0ec14d36361567e374672e0d115e584548702b8 (diff)
downloadCMake-817331aae8c9f166baa7ada5e015dcb5442c0038.zip
CMake-817331aae8c9f166baa7ada5e015dcb5442c0038.tar.gz
CMake-817331aae8c9f166baa7ada5e015dcb5442c0038.tar.bz2
Merge topic 'deprecate-policy-old'
a0ec14d3 Add deprecation warnings for policies CMP0054 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1438
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 43c529c..9c8dae3 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -4018,7 +4018,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::CMP0036) {
+ if (status == cmPolicies::OLD && id <= cmPolicies::CMP0054) {
this->IssueMessage(cmake::DEPRECATION_WARNING,
cmPolicies::GetPolicyDeprecatedWarning(id));
}