CMP0133.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. CMP0133
  2. -------
  3. .. versionadded:: 3.24
  4. The :module:`CPack` module disables SLA by default in the
  5. :cpack_gen:`CPack DragNDrop Generator`.
  6. The :cpack_gen:`CPack DragNDrop Generator` in CMake 3.22 and below attach a
  7. Software License Agreement (SLA) to ``.dmg`` files using the file specified
  8. by :variable:`CPACK_RESOURCE_FILE_LICENSE`, if set to a non-default value.
  9. macOS 12.0 deprecated the tools used to do this, so CMake 3.23 added
  10. the :variable:`CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE` option to
  11. control the behavior. CMake 3.23 enables that option by default for
  12. compatibility with older versions. CMake 3.24 and above prefer to *not*
  13. enable the :variable:`CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE` option by
  14. default. This policy provides compatibility with projects that have not
  15. been updated to account for the lack of a SLA in their ``.dmg`` packages.
  16. The ``OLD`` behavior for this policy is to enable
  17. :variable:`CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE` by default.
  18. The ``NEW`` behavior for this policy is to not enable it by default.
  19. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.24
  20. .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default
  21. .. include:: STANDARD_ADVICE.txt
  22. See documentation of the
  23. :variable:`CMAKE_POLICY_WARNING_CMP0133 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
  24. variable to control the warning.
  25. .. include:: DEPRECATED.txt