CMake now using bzip2 compression for mac release bundles.
Starting with OSX 10.4 dmg files offers bzip2 compression which offers small package sizes.
This commit is contained in:
parent
17a457dcb0
commit
ffa5db9622
|
@ -6,6 +6,7 @@ set(HOST dashmacmini2)
|
||||||
set(MAKE_PROGRAM "make")
|
set(MAKE_PROGRAM "make")
|
||||||
set(MAKE "${MAKE_PROGRAM} -j2")
|
set(MAKE "${MAKE_PROGRAM} -j2")
|
||||||
set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ")
|
set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ")
|
||||||
|
set(CPACK_DMG_FORMAT "UDBZ") #build using bzip2 for smaller package size
|
||||||
set(INITIAL_CACHE "
|
set(INITIAL_CACHE "
|
||||||
CMAKE_BUILD_TYPE:STRING=Release
|
CMAKE_BUILD_TYPE:STRING=Release
|
||||||
CMAKE_OSX_ARCHITECTURES:STRING=ppc;i386
|
CMAKE_OSX_ARCHITECTURES:STRING=ppc;i386
|
||||||
|
|
|
@ -7,6 +7,7 @@ set(MAKE_PROGRAM "make")
|
||||||
set(MAKE "${MAKE_PROGRAM} -j5")
|
set(MAKE "${MAKE_PROGRAM} -j5")
|
||||||
set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ")
|
set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ")
|
||||||
set(CPACK_SOURCE_GENERATORS "TGZ TZ")
|
set(CPACK_SOURCE_GENERATORS "TGZ TZ")
|
||||||
|
set(CPACK_DMG_FORMAT "UDBZ") #build using bzip2 for smaller package size
|
||||||
set(INITIAL_CACHE "
|
set(INITIAL_CACHE "
|
||||||
CMAKE_USE_OPENSSL:BOOL=ON
|
CMAKE_USE_OPENSSL:BOOL=ON
|
||||||
OPENSSL_CRYPTO_LIBRARY:FILEPATH=/Users/kitware/openssl-1.0.1g-install/lib/libcrypto.a
|
OPENSSL_CRYPTO_LIBRARY:FILEPATH=/Users/kitware/openssl-1.0.1g-install/lib/libcrypto.a
|
||||||
|
|
Loading…
Reference in New Issue