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 SET(CPACK_CREATE_DESKTOP_LINKS "cmake-gui" ${CPACK_CREATE_DESKTOP_LINKS})
8 # for apple install we set the install prefix to
10 # cmake into the bundle for cmake-gui and must use DESTDIR
11 SET(CPACK_SET_DESTDIR TRUE)
12 # we also want to run post install stuff to setup command line
13 SET(CPACK_POSTFLIGHT_SCRIPT "@CMAKE_POSTFLIGHT_SCRIPT@")
14 SET(CPACK_POSTUPGRADE_SCRIPT "@CMAKE_POSTUPGRADE_SCRIPT@")
16 ENDIF(CMAKE_PACKAGE_QTGUI)