Install desktop file and icon on Linux

This commit is contained in:
Andrew Nelless 2017-03-17 14:07:36 +00:00
parent db8b341dff
commit ca4c734535
1 changed files with 5 additions and 0 deletions

View File

@ -382,4 +382,9 @@ else()
message (STATUS "NOT configuring the v1 installer") message (STATUS "NOT configuring the v1 installer")
endif() endif()
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(FILES res/synergy.desktop DESTINATION share/applications)
install(FILES res/synergy.svg DESTINATION share/icons)
endif()
add_subdirectory (src) add_subdirectory (src)