diff options
author | Juan Ramos <cmake@jpr.mozmail.com> | 2022-11-06 22:52:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-08 14:32:18 (GMT) |
commit | d3acd22380663bd4061abf07384d507c589d3286 (patch) | |
tree | d56d36f61646b251a909a2feba9f6954b8e6f3f6 /Source/cmPolicies.h | |
parent | 3ee1017ce66d86190460d5c842324ea2a4870ae3 (diff) | |
download | CMake-d3acd22380663bd4061abf07384d507c589d3286.zip CMake-d3acd22380663bd4061abf07384d507c589d3286.tar.gz CMake-d3acd22380663bd4061abf07384d507c589d3286.tar.bz2 |
USE_FOLDERS: Treat as on by default
Add a policy to treat the `USE_FOLDERS` global property as ON by default
if it is not set.
Fixes: #21695
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 4643868..fa24f57 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -431,7 +431,10 @@ class cmMakefile; SELECT(POLICY, CMP0142, \ "The Xcode generator does not append per-config suffixes to " \ "library search paths.", \ - 3, 25, 0, cmPolicies::WARN) + 3, 25, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0143, \ + "Global property USE_FOLDERS treated as ON by default", 3, 26, 0, \ + cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |