summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-01-28 06:57:58 (GMT)
committerCraig Scott <craig.scott@crascit.com>2024-01-28 10:09:12 (GMT)
commit339ae33e555b1820174ca99e9aaa04dffe29febc (patch)
tree254f15b902a4229b4265926e2a6390f21b5bfe24 /Source
parent4e7f2397e4d3c187af5ee08e85601e67d36dd18e (diff)
downloadCMake-339ae33e555b1820174ca99e9aaa04dffe29febc.zip
CMake-339ae33e555b1820174ca99e9aaa04dffe29febc.tar.gz
CMake-339ae33e555b1820174ca99e9aaa04dffe29febc.tar.bz2
CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161)
Fixes: #23351
Diffstat (limited to 'Source')
-rw-r--r--Source/cmPolicies.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index e23e687..705314f 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -491,7 +491,9 @@ class cmMakefile;
SELECT( \
POLICY, CMP0160, \
"More read-only target properties now error when trying to set them.", 3, \
- 29, 0, cmPolicies::WARN)
+ 29, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0161, "CPACK_PRODUCTBUILD_DOMAINS defaults to true.", 3, \
+ 29, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \