BUG: fix some bad changes in progress calc
[cmake.git] / Source / QtDialog / QtDialogCPack.cmake.in
blob27bcbada9c22d13f41fbcb0128a65d4686fbac0b
1 SET(IS_APPLE @APPLE@)
2 SET(CMAKE_PACKAGE_QTGUI @CMAKE_PACKAGE_QTGUI@)
4 IF(CMAKE_PACKAGE_QTGUI)
5   SET(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "cmake-gui" "cmake-gui(beta)") 
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)