summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-09-20 15:30:14 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-20 15:30:24 (GMT)
commitfe751ad1fb6b4c54f7662b01777142f2c598c958 (patch)
tree09bfc5f60bbbacd193b3a2f819fe791007e90593 /Source/cmMakefile.cxx
parent3523990f7b96b0f25836cf319a7c8112c55e5acd (diff)
parent0c709cb2a214ec37100d38f06e1bbf157d8c4cb8 (diff)
downloadCMake-fe751ad1fb6b4c54f7662b01777142f2c598c958.zip
CMake-fe751ad1fb6b4c54f7662b01777142f2c598c958.tar.gz
CMake-fe751ad1fb6b4c54f7662b01777142f2c598c958.tar.bz2
Merge topic 'deprecate-policy-old'
0c709cb2a2 Add deprecation warnings for policies CMP0063 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2397
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ec5ce92..354da4e 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -4194,7 +4194,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::CMP0054) {
+ if (status == cmPolicies::OLD && id <= cmPolicies::CMP0063) {
this->IssueMessage(cmake::DEPRECATION_WARNING,
cmPolicies::GetPolicyDeprecatedWarning(id));
}