summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2021-08-29 21:05:38 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-10 13:46:55 (GMT)
commit059b90a0b4760c3c0bb761870be2a0811f80ce70 (patch)
tree78875945c1e64300ad5a1d2a40811ef4bb2389af /Source/cmPolicies.h
parented9abd99772cbdcb2e4dd195eb4a62104ce86c95 (diff)
downloadCMake-059b90a0b4760c3c0bb761870be2a0811f80ce70.zip
CMake-059b90a0b4760c3c0bb761870be2a0811f80ce70.tar.gz
CMake-059b90a0b4760c3c0bb761870be2a0811f80ce70.tar.bz2
CMakeDependentOption: Introduce policy CMP0127 for full Condition Syntax
Fixes: #22303
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index f7c0d25..a98e6c6 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -379,7 +379,10 @@ class cmMakefile;
3, 21, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0126, \
"set(CACHE) does not remove a normal variable of the same name.", 3, \
- 21, 0, cmPolicies::WARN)
+ 21, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0127, \
+ "cmake_dependent_option() supports full Condition Syntax.", 3, 22, \
+ 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \