diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-11 21:27:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-11 21:27:41 (GMT) |
commit | b125a2ae7bd0efe9a5623bd6ccba821bafcd36e2 (patch) | |
tree | 4f5fbb66571f6db6e3a355795e4493b990bbb1bd /Source/QtDialog/CMakeLists.txt | |
parent | 84cea9806fd19bad9bb7758b4b826ef25fee1ccc (diff) | |
download | CMake-b125a2ae7bd0efe9a5623bd6ccba821bafcd36e2.zip CMake-b125a2ae7bd0efe9a5623bd6ccba821bafcd36e2.tar.gz CMake-b125a2ae7bd0efe9a5623bd6ccba821bafcd36e2.tar.bz2 |
ENH: add KDE desktop stuff
Diffstat (limited to 'Source/QtDialog/CMakeLists.txt')
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index dc77a28..2e61c29 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -66,6 +66,15 @@ ELSE(NOT QT4_FOUND) INSTALL(TARGETS cmake-gui RUNTIME DESTINATION bin ${CMAKE_INSTALL_DESTINATION_ARGS}) ENDIF(CMAKE_PACKAGE_QTGUI) + + IF(UNIX) + # install a desktop file so CMake appears in the application start menu + # with an icon + INSTALL(FILES CMake.desktop DESTINATION share/applications ) + INSTALL(FILES CMakeSetup.png DESTINATION share/pixmaps ) + INSTALL(FILES cmakecache.xml DESTINATION share/mime/packages ) + ENDIF(UNIX) + IF(APPLE) SET(CMAKE_POSTFLIGHT_SCRIPT "${CMake_BINARY_DIR}/Source/QtDialog/postflight.sh") |