2012-08-13 21:47:32 +04:00
|
|
|
set(IS_APPLE @APPLE@)
|
|
|
|
set(CMAKE_PACKAGE_QTGUI @CMAKE_PACKAGE_QTGUI@)
|
2008-02-16 21:05:03 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
if(CMAKE_PACKAGE_QTGUI)
|
|
|
|
set(CPACK_PACKAGE_EXECUTABLES "cmake-gui" "CMake (cmake-gui)" ${CPACK_PACKAGE_EXECUTABLES})
|
|
|
|
set(CPACK_CREATE_DESKTOP_LINKS "cmake-gui" ${CPACK_CREATE_DESKTOP_LINKS})
|
|
|
|
if(IS_APPLE)
|
2008-02-19 22:26:20 +03:00
|
|
|
# for apple install we set the install prefix to
|
|
|
|
# / and then install
|
|
|
|
# cmake into the bundle for cmake-gui and must use DESTDIR
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CPACK_SET_DESTDIR TRUE)
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
|
|
|
endif()
|
2008-02-16 21:05:03 +03:00
|
|
|
|
|
|
|
|