summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-29 15:38:48 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-29 15:38:48 (GMT)
commitfcb4541a05ea068715c8815c0294d2638721b071 (patch)
tree5cd7eaad2205939e800ab70e065cda71e1883240
parent8451f123503effc219fb1fb816b9659b7e156653 (diff)
downloadCMake-fcb4541a05ea068715c8815c0294d2638721b071.zip
CMake-fcb4541a05ea068715c8815c0294d2638721b071.tar.gz
CMake-fcb4541a05ea068715c8815c0294d2638721b071.tar.bz2
QtDialog: don't install desktop file bits on Apple
Apple uses the dmg file which doesn't have .desktop support.
-rw-r--r--Source/QtDialog/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index 03c2fb4..feedcc9 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -171,7 +171,7 @@ set(CMAKE_INSTALL_DESTINATION_ARGS
install(TARGETS cmake-gui RUNTIME DESTINATION bin ${CMAKE_INSTALL_DESTINATION_ARGS})
-if(UNIX)
+if(UNIX AND NOT APPLE)
# install a desktop file so CMake appears in the application start menu
# with an icon
install(FILES CMake.desktop DESTINATION share/applications )