QtDialog: don't install desktop file bits on Apple

Apple uses the dmg file which doesn't have .desktop support.
This commit is contained in:
Ben Boeckel 2014-10-29 11:38:48 -04:00
parent 8451f12350
commit fcb4541a05
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ set(CMAKE_INSTALL_DESTINATION_ARGS
install(TARGETS cmake-gui RUNTIME DESTINATION bin ${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 # install a desktop file so CMake appears in the application start menu
# with an icon # with an icon
install(FILES CMake.desktop DESTINATION share/applications ) install(FILES CMake.desktop DESTINATION share/applications )