summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-11 22:02:38 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-14 14:14:58 (GMT)
commitb760828d3fa50ae621d44ac00ffa77de5593c3ed (patch)
tree2f91a473dea3de8232166d78095e20516177e0bf /Source/cmPolicies.h
parentdd193fa3d357b7f1c2495348d58b85bb597844c5 (diff)
downloadCMake-b760828d3fa50ae621d44ac00ffa77de5593c3ed.zip
CMake-b760828d3fa50ae621d44ac00ffa77de5593c3ed.tar.gz
CMake-b760828d3fa50ae621d44ac00ffa77de5593c3ed.tar.bz2
CPack/DMG: Do not use CPACK_RESOURCE_FILE_LICENSE for SLA by default
Since macOS 12.0 deprecated the tools needed to attach a SLA to a `.dmg`, we should no longer do this by default. Add a policy to change the default to off. Fixes: #22978
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 434c51c..5393747 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -396,7 +396,11 @@ class cmMakefile;
24, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0132, \
"Do not set compiler environment variables on first run", 3, 24, 0, \
- cmPolicies::WARN)
+ cmPolicies::WARN) \
+ SELECT(POLICY, CMP0133, \
+ "The CPack module disables SLA by default in the CPack DragNDrop " \
+ "Generator.", \
+ 3, 24, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \