Allow skip building old GUI
This commit is contained in:
parent
165bfa3dd6
commit
58eb7952a6
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue