#6301 Default to Enterprise build if env variable is set
This commit is contained in:
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)
|
||||
|
|
Loading…
Reference in New Issue