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)")
7 # for apple install we set the install prefix to
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@")
15 ENDIF(CMAKE_PACKAGE_QTGUI)