From ca4c734535b82eb1a433dc0365fbf352c75680f2 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Fri, 17 Mar 2017 14:07:36 +0000 Subject: [PATCH] Install desktop file and icon on Linux --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 380a31d7..1f2e0e5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -382,4 +382,9 @@ else() message (STATUS "NOT configuring the v1 installer") 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)