From d95af8452892f0a9cb02b39b6567ef845330bf5b Mon Sep 17 00:00:00 2001 From: Sarah Hebert <35926009+sarahhebert@users.noreply.github.com> Date: Thu, 14 Jun 2018 15:48:00 +0100 Subject: [PATCH] #6301 Fix use of ENV{} --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f0144b0..8e459314 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ 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) -if (DEFINED $ENV{SYNERGY_ENTERPRISE}) +if (DEFINED ENV{SYNERGY_ENTERPRISE}) option (SYNERGY_ENTERPRISE "Build Enterprise" ON) else() option (SYNERGY_ENTERPRISE "Build Enterprise" OFF)