2008-02-16 21:05:03 +03:00
|
|
|
SET(IS_APPLE @APPLE@)
|
2008-02-09 17:53:52 +03:00
|
|
|
SET(CMAKE_PACKAGE_QTGUI @CMAKE_PACKAGE_QTGUI@)
|
2008-02-16 21:05:03 +03:00
|
|
|
|
2008-02-09 17:53:52 +03:00
|
|
|
IF(CMAKE_PACKAGE_QTGUI)
|
2012-08-13 21:42:58 +04:00
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "cmake-gui" "CMake (cmake-gui)" ${CPACK_PACKAGE_EXECUTABLES})
|
2009-06-26 18:18:11 +04:00
|
|
|
SET(CPACK_CREATE_DESKTOP_LINKS "cmake-gui" ${CPACK_CREATE_DESKTOP_LINKS})
|
2008-02-19 22:26:20 +03:00
|
|
|
IF(IS_APPLE)
|
|
|
|
# for apple install we set the install prefix to
|
|
|
|
# / and then install
|
|
|
|
# cmake into the bundle for cmake-gui and must use DESTDIR
|
|
|
|
SET(CPACK_SET_DESTDIR TRUE)
|
|
|
|
# we also want to run post install stuff to setup command line
|
|
|
|
SET(CPACK_POSTFLIGHT_SCRIPT "@CMAKE_POSTFLIGHT_SCRIPT@")
|
|
|
|
SET(CPACK_POSTUPGRADE_SCRIPT "@CMAKE_POSTUPGRADE_SCRIPT@")
|
|
|
|
ENDIF(IS_APPLE)
|
2008-02-09 17:53:52 +03:00
|
|
|
ENDIF(CMAKE_PACKAGE_QTGUI)
|
2008-02-16 21:05:03 +03:00
|
|
|
|
|
|
|
|