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:
parent
8451f12350
commit
fcb4541a05
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue