Files
CMake/Tests/RunCMake/CPackConfig/CMP0133-WARN.cmake
Brad King b760828d3f 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
2022-04-14 10:14:58 -04:00

3 lines
105 B
CMake

set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/SLA.txt")
set(CMAKE_POLICY_WARNING_CMP0133 1)