mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-18 22:08:28 -05:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user