Updated formatting of documentation plus a little reorganization.
[cmake.git] / Source / QtDialog / QtDialogCPack.cmake.in
blob701991b7a6e255cda90ed1a5dccf4edc51548c9e
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   SET(CPACK_CREATE_DESKTOP_LINKS "cmake-gui" ${CPACK_CREATE_DESKTOP_LINKS})
7   IF(IS_APPLE)
8     # for apple install we set the install prefix to
9     # / and then install
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@")
15   ENDIF(IS_APPLE)
16 ENDIF(CMAKE_PACKAGE_QTGUI)