summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-06-03 10:42:41 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-06-03 17:31:36 (GMT)
commitbe4b9e10afaae750ad184ce1b34d6cb2c3d7fd33 (patch)
tree1c88a4586bb77f93be8e9bf1ddd43cbcad1f4bbe /Source/cmPolicies.h
parent0aa0b8e146ea8d1dc50b4c045360abd57c3643e4 (diff)
downloadCMake-be4b9e10afaae750ad184ce1b34d6cb2c3d7fd33.zip
CMake-be4b9e10afaae750ad184ce1b34d6cb2c3d7fd33.tar.gz
CMake-be4b9e10afaae750ad184ce1b34d6cb2c3d7fd33.tar.bz2
if command: Add PATH_EQUAL operator
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index f13432b..256d483 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -417,7 +417,11 @@ class cmMakefile;
cmPolicies::WARN) \
SELECT(POLICY, CMP0138, \
"MSVC compilers use -ZI instead of /Zi for x86 and x64 by default.", \
- 3, 24, 0, cmPolicies::WARN)
+ 3, 24, 0, cmPolicies::WARN) \
+ SELECT( \
+ POLICY, CMP0139, \
+ "The if() command supports path comparisons using PATH_EQUAL operator.", \
+ 3, 24, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \