mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
#6301 Default to Enterprise build if env variable is set
This commit is contained in:
committed by
Nick Bolton
parent
8e56fbce1f
commit
11be6ef3d4
@@ -20,7 +20,12 @@ project (synergy-core C CXX)
|
||||
option (SYNERGY_BUILD_LEGACY_GUI "Build the legacy GUI" ON)
|
||||
option (SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON)
|
||||
option (SYNERGY_BUILD_LEGACY_INSTALLER "Build the legacy installer" ON)
|
||||
option (SYNERGY_ENTERPRISE "Build Enterprise" OFF)
|
||||
|
||||
if (DEFINED $ENV{SYNERGY_ENTERPRISE})
|
||||
option (SYNERGY_ENTERPRISE "Build Enterprise" ON)
|
||||
else()
|
||||
option (SYNERGY_ENTERPRISE "Build Enterprise" OFF)
|
||||
endif()
|
||||
|
||||
set (CMAKE_CXX_STANDARD 14)
|
||||
set (CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
Reference in New Issue
Block a user