mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
Merge topic 'deprecate-CMakeFindFrameworks'
dd87640a22 CMakeFindFrameworks: Deprecate the module subject to policy CMP0173
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9742
This commit is contained in:
@@ -20,6 +20,7 @@ bool cmIncludeCommand(std::vector<std::string> const& args,
|
||||
{
|
||||
static std::map<std::string, cmPolicies::PolicyID> DeprecatedModules;
|
||||
if (DeprecatedModules.empty()) {
|
||||
DeprecatedModules["CMakeFindFrameworks"] = cmPolicies::CMP0173;
|
||||
DeprecatedModules["Dart"] = cmPolicies::CMP0145;
|
||||
DeprecatedModules["Documentation"] = cmPolicies::CMP0106;
|
||||
DeprecatedModules["FindBoost"] = cmPolicies::CMP0167;
|
||||
|
||||
+3
-1
@@ -531,7 +531,9 @@ class cmMakefile;
|
||||
SELECT(POLICY, CMP0172, \
|
||||
"The CPack module enables per-machine installation by default in " \
|
||||
"the CPack WIX Generator.", \
|
||||
3, 31, 0, cmPolicies::WARN)
|
||||
3, 31, 0, cmPolicies::WARN) \
|
||||
SELECT(POLICY, CMP0173, "The CMakeFindFrameworks module is removed.", 3, \
|
||||
31, 0, cmPolicies::WARN)
|
||||
|
||||
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
|
||||
#define CM_FOR_EACH_POLICY_ID(POLICY) \
|
||||
|
||||
Reference in New Issue
Block a user