diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2013-11-01 02:14:58 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2013-11-01 02:25:12 (GMT) |
commit | 193029c4aaad7a13f0b6efed59a1c88af0dc6714 (patch) | |
tree | 799253f78297f9c32ea074d47e1bbedc88f873d4 /Modules/CPack.cmake | |
parent | 7a616e75b84d692e2df453e889c12d1afdb6c576 (diff) | |
download | CMake-193029c4aaad7a13f0b6efed59a1c88af0dc6714.zip CMake-193029c4aaad7a13f0b6efed59a1c88af0dc6714.tar.gz CMake-193029c4aaad7a13f0b6efed59a1c88af0dc6714.tar.bz2 |
cpack: For DragNDrop generator, add sysroot option when calling Rez.
Also adding overwrite option (-ov) in case multiple temporary
dmg files are being created.
Fixes bug #14536.
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index da6b2e0..cd98f49 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -519,6 +519,11 @@ cpack_set_if_not_set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") # WiX specific variables cpack_set_if_not_set(CPACK_WIX_SIZEOF_VOID_P "${CMAKE_SIZEOF_VOID_P}") +# osx sysroot +if(CMAKE_OSX_SYSROOT) + set(CPACK_OSX_SYSROOT "${CMAKE_OSX_SYSROOT}") +endif() + if(DEFINED CPACK_COMPONENTS_ALL) if(CPACK_MONOLITHIC_INSTALL) message("CPack warning: both CPACK_COMPONENTS_ALL and CPACK_MONOLITHIC_INSTALL have been set.\nDefaulting to a monolithic installation.") |