summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-31 15:04:13 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-31 15:04:41 (GMT)
commit2ed00e8ef831d08a66492b41764d84e6afb43b7f (patch)
treeb52dc7c1c34464a63ec30e9e59e9a245f9a22b3e /Modules/CPack.cmake
parent7bf187499f9678c3493d5e6960c6ccabb6604c8d (diff)
downloadCMake-2ed00e8ef831d08a66492b41764d84e6afb43b7f.zip
CMake-2ed00e8ef831d08a66492b41764d84e6afb43b7f.tar.gz
CMake-2ed00e8ef831d08a66492b41764d84e6afb43b7f.tar.bz2
CPack: Deprecate OSXX11 generator
The CPack OSXX11 generator has not had any updates since 2011 except as part of sweeping maintenance changes. It also creates packages with a OSXScriptLauncher binary that has only ppc and i386 architectures which are not supported by Apple anymore. Furthermore, the generator is not even mentioned in our documentation. Add a deprecation warning. Fixes: #20235
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 3137374..684edae 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -563,7 +563,7 @@ if(NOT CPACK_GENERATOR)
if(APPLE)
option(CPACK_BINARY_BUNDLE "Enable to build OSX bundles" OFF)
option(CPACK_BINARY_DRAGNDROP "Enable to build OSX Drag And Drop package" OFF)
- option(CPACK_BINARY_OSXX11 "Enable to build OSX X11 packages" OFF)
+ option(CPACK_BINARY_OSXX11 "Enable to build OSX X11 packages (deprecated)" OFF)
option(CPACK_BINARY_PACKAGEMAKER "Enable to build PackageMaker packages (deprecated)" OFF)
option(CPACK_BINARY_PRODUCTBUILD "Enable to build productbuild packages" OFF)
mark_as_advanced(