summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-04 14:54:12 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-12-05 10:57:08 (GMT)
commitda7ad7997e383eda8532d91269130524158a0a86 (patch)
tree2579e0c76e5201f5904a8fd5a47ec75af96af98e /Source/cmPolicies.h
parent541f1410e06bc8c28876c6eb6dff594f6b046fc2 (diff)
downloadCMake-da7ad7997e383eda8532d91269130524158a0a86.zip
CMake-da7ad7997e383eda8532d91269130524158a0a86.tar.gz
CMake-da7ad7997e383eda8532d91269130524158a0a86.tar.bz2
WriteCompilerDetectionHeader: Add policy to remove module
See justification in the policy documentation. Closes: #17842
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 0d04f7a..2194b0f 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -356,7 +356,10 @@ class cmMakefile;
SELECT(POLICY, CMP0119, \
"LANGUAGE source file property explicitly compiles as specified " \
"language.", \
- 3, 20, 0, cmPolicies::WARN)
+ 3, 20, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0120, \
+ "The WriteCompilerDetectionHeader module is removed.", 3, 20, 0, \
+ cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \