diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-29 15:38:48 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-29 15:38:48 (GMT) |
commit | fcb4541a05ea068715c8815c0294d2638721b071 (patch) | |
tree | 5cd7eaad2205939e800ab70e065cda71e1883240 | |
parent | 8451f123503effc219fb1fb816b9659b7e156653 (diff) | |
download | CMake-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.txt | 2 |
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 ) |