diff options
Diffstat (limited to 'Source/QtDialog/QtDialogCPack.cmake.in')
-rw-r--r-- | Source/QtDialog/QtDialogCPack.cmake.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/QtDialog/QtDialogCPack.cmake.in b/Source/QtDialog/QtDialogCPack.cmake.in index 24dda01..fc1fa79 100644 --- a/Source/QtDialog/QtDialogCPack.cmake.in +++ b/Source/QtDialog/QtDialogCPack.cmake.in @@ -1,4 +1,13 @@ +SET(IS_APPLE @APPLE@) SET(CMAKE_PACKAGE_QTGUI @CMAKE_PACKAGE_QTGUI@) + IF(CMAKE_PACKAGE_QTGUI) SET(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "cmake-gui" "cmake-gui(beta)") +IF(IS_APPLE) + # for apple install we set the install prefix to /Applications and then install + # cmake into the bundle for cmake-gui + SET(CPACK_SET_DESTDIR TRUE) +ENDIF(IS_APPLE) ENDIF(CMAKE_PACKAGE_QTGUI) + + |