14 lines
397 B
CMake
14 lines
397 B
CMake
SET(IS_APPLE @APPLE@)
|
|
SET(CMAKE_PACKAGE_QTGUI @CMAKE_PACKAGE_QTGUI@)
|
|
|
|
IF(CMAKE_PACKAGE_QTGUI)
|
|
SET(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "cmake-gui" "cmake-gui(beta)")
|
|
IF(IS_APPLE)
|
|
# for apple install we set the install prefix to /Applications and then install
|
|
# cmake into the bundle for cmake-gui
|
|
SET(CPACK_SET_DESTDIR TRUE)
|
|
ENDIF(IS_APPLE)
|
|
ENDIF(CMAKE_PACKAGE_QTGUI)
|
|
|
|
|