mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03: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:
1 parent
8451f12350
commit
fcb4541a05
1 file changed
+1
-1
@@ -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