diff options
author | Brad King <brad.king@kitware.com> | 2020-12-04 14:54:12 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2020-12-05 10:57:08 (GMT) |
commit | da7ad7997e383eda8532d91269130524158a0a86 (patch) | |
tree | 2579e0c76e5201f5904a8fd5a47ec75af96af98e /Source/cmPolicies.h | |
parent | 541f1410e06bc8c28876c6eb6dff594f6b046fc2 (diff) | |
download | CMake-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.h | 5 |
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) \ |