From b7042e936d22bed516ff3aeabddaa4b8cd894ddf Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Fri, 17 Mar 2017 14:10:02 +0000 Subject: [PATCH] Install synergys and syntool on Linux --- src/cmd/synergyc/CMakeLists.txt | 1 + src/cmd/synergys/CMakeLists.txt | 3 +++ src/cmd/syntool/CMakeLists.txt | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/cmd/synergyc/CMakeLists.txt b/src/cmd/synergyc/CMakeLists.txt index aa98e918..ed44ff69 100644 --- a/src/cmd/synergyc/CMakeLists.txt +++ b/src/cmd/synergyc/CMakeLists.txt @@ -54,3 +54,4 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") install (TARGETS synergyc DESTINATION bin) endif() + diff --git a/src/cmd/synergys/CMakeLists.txt b/src/cmd/synergys/CMakeLists.txt index de8181e3..4393455c 100644 --- a/src/cmd/synergys/CMakeLists.txt +++ b/src/cmd/synergys/CMakeLists.txt @@ -51,5 +51,8 @@ target_link_libraries(synergys if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") install (TARGETS synergys DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR}) +elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + install (TARGETS synergys DESTINATION bin) endif() + diff --git a/src/cmd/syntool/CMakeLists.txt b/src/cmd/syntool/CMakeLists.txt index de3c910d..62374962 100644 --- a/src/cmd/syntool/CMakeLists.txt +++ b/src/cmd/syntool/CMakeLists.txt @@ -22,4 +22,6 @@ target_link_libraries(syntool if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") install (TARGETS syntool DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR}) +elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + install (TARGETS syntool DESTINATION bin) endif()