diff options
author | Brad King <brad.king@kitware.com> | 2022-04-11 22:02:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-14 14:14:58 (GMT) |
commit | b760828d3fa50ae621d44ac00ffa77de5593c3ed (patch) | |
tree | 2f91a473dea3de8232166d78095e20516177e0bf /Help/cpack_gen | |
parent | dd193fa3d357b7f1c2495348d58b85bb597844c5 (diff) | |
download | CMake-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 'Help/cpack_gen')
-rw-r--r-- | Help/cpack_gen/dmg.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/cpack_gen/dmg.rst b/Help/cpack_gen/dmg.rst index b4ef5a2..cba7a00 100644 --- a/Help/cpack_gen/dmg.rst +++ b/Help/cpack_gen/dmg.rst @@ -65,8 +65,8 @@ on macOS: In a CMake project that uses the :module:`CPack` module to generate ``CPackConfig.cmake``, ``CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE`` - is automatically enabled by default if it is not set and - :variable:`CPACK_RESOURCE_FILE_LICENSE` is set to a non-default value. + must be explicitly enabled by the project to activate the SLA. + See policy :policy:`CMP0133`. .. note:: |