From fcb4541a05ea068715c8815c0294d2638721b071 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 29 Oct 2014 11:38:48 -0400 Subject: [PATCH] QtDialog: don't install desktop file bits on Apple Apple uses the dmg file which doesn't have .desktop support. --- Source/QtDialog/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 03c2fb42b..feedcc9d9 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 )