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/cmIncludeCommand.cxx | |
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/cmIncludeCommand.cxx')
-rw-r--r-- | Source/cmIncludeCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx index 5e3aec5..ce1f030 100644 --- a/Source/cmIncludeCommand.cxx +++ b/Source/cmIncludeCommand.cxx @@ -21,6 +21,7 @@ bool cmIncludeCommand(std::vector<std::string> const& args, static std::map<std::string, cmPolicies::PolicyID> DeprecatedModules; if (DeprecatedModules.empty()) { DeprecatedModules["Documentation"] = cmPolicies::CMP0106; + DeprecatedModules["WriteCompilerDetectionHeader"] = cmPolicies::CMP0120; } if (args.empty() || args.size() > 4) { |