From 58eb7952a666deecab7a06792a48629dc84dd1be Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Thu, 4 May 2017 20:10:06 +0100 Subject: [PATCH] Allow skip building old GUI --- CMakeLists.txt | 1 + src/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f8292a12..3f33467f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,7 @@ cmake_minimum_required (VERSION 3.4) project (synergy C CXX) +option (SYNERGY_BUILD_LEGACY_GUI "Build the legacy GUI (synergy)" ON) option (SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON) option (SYNERGY_BUILD_LEGACY_INSTALLER "Build the installer" ON) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d6da3d8f..ab63a066 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -19,4 +19,6 @@ include_directories (${CMAKE_CURRENT_BINARY_DIR}/lib) add_subdirectory(lib) add_subdirectory(cmd) +if (SYNERGY_BUILD_LEGACY_GUI) add_subdirectory(gui) +endif (SYNERGY_BUILD_LEGACY_GUI)