mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
WriteCompilerDetectionHeader: Add policy to remove module
See justification in the policy documentation. Closes: #17842
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user