Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / QtDialog / QtDialogCPack.cmake.in
blobfeeb8b22ae8c7b12fff693f1cc762912f752388a
1 SET(IS_APPLE @APPLE@)
2 SET(CMAKE_PACKAGE_QTGUI @CMAKE_PACKAGE_QTGUI@)
4 IF(CMAKE_PACKAGE_QTGUI)
5   SET(CPACK_PACKAGE_EXECUTABLES "cmake-gui" "CMake (cmake-gui)" ${CPACK_PACKAGE_EXECUTABLES}) 
6   IF(IS_APPLE)
7     # for apple install we set the install prefix to
8     # / and then install
9     # cmake into the bundle for cmake-gui and must use DESTDIR
10     SET(CPACK_SET_DESTDIR TRUE)
11     # we also want to run post install stuff to setup command line
12     SET(CPACK_POSTFLIGHT_SCRIPT "@CMAKE_POSTFLIGHT_SCRIPT@")
13     SET(CPACK_POSTUPGRADE_SCRIPT "@CMAKE_POSTUPGRADE_SCRIPT@")
14   ENDIF(IS_APPLE)
15 ENDIF(CMAKE_PACKAGE_QTGUI)