diff options
author | David Cole <david.cole@kitware.com> | 2008-06-18 13:53:29 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-06-18 13:53:29 (GMT) |
commit | 79e255a7d336285fa2785976352308bcfd068b44 (patch) | |
tree | 66f567a6d7e8daebbe175a7b64de919d28d92b12 /Modules/CPack.cmake | |
parent | edaa6d3a97b06bf42e772d45e2e34535302a5f89 (diff) | |
download | CMake-79e255a7d336285fa2785976352308bcfd068b44.zip CMake-79e255a7d336285fa2785976352308bcfd068b44.tar.gz CMake-79e255a7d336285fa2785976352308bcfd068b44.tar.bz2 |
ENH: Apply patch for feature request #7170. Thanks to Tim Shead for contributing...
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 59e409f..9782457 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -114,6 +114,7 @@ if(NOT CPACK_GENERATOR) option(CPACK_BINARY_CYGWIN "Enable to build Cygwin binary packages" ON) else(CYGWIN) if(APPLE) + option(CPACK_BINARY_BUNDLE "Enable to build OSX bundles" OFF) option(CPACK_BINARY_PACKAGEMAKER "Enable to build PackageMaker packages" ON) option(CPACK_BINARY_OSXX11 "Enable to build OSX X11 packages" OFF) else(APPLE) @@ -131,6 +132,7 @@ if(NOT CPACK_GENERATOR) option(CPACK_BINARY_ZIP "Enable to build ZIP packages" ON) endif(UNIX) + cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_BUNDLE Bundle) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_PACKAGEMAKER PackageMaker) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_OSXX11 OSXX11) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_CYGWIN CygwinBinary) @@ -171,7 +173,7 @@ endif(NOT CPACK_SOURCE_GENERATOR) mark_as_advanced(CPACK_BINARY_CYGWIN CPACK_BINARY_PACKAGEMAKER CPACK_BINARY_OSXX11 CPACK_BINARY_STGZ CPACK_BINARY_TGZ CPACK_BINARY_TBZ2 CPACK_BINARY_DEB CPACK_BINARY_RPM CPACK_BINARY_TZ - CPACK_BINARY_NSIS CPACK_BINARY_ZIP + CPACK_BINARY_NSIS CPACK_BINARY_ZIP CPACK_BINARY_BUNDLE CPACK_SOURCE_CYGWIN CPACK_SOURCE_TBZ2 CPACK_SOURCE_TGZ CPACK_SOURCE_TZ CPACK_SOURCE_ZIP) |