diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d30599f..7ddcfb0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -369,4 +369,4 @@ if (CONF_DOXYGEN) endif() -option(BUILD_SERVICE "Build synergyd" ON) +option(SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON) diff --git a/src/cmd/CMakeLists.txt b/src/cmd/CMakeLists.txt index 6b6d07e4..450c8417 100644 --- a/src/cmd/CMakeLists.txt +++ b/src/cmd/CMakeLists.txt @@ -18,7 +18,7 @@ add_subdirectory(synergyc) add_subdirectory(synergys) add_subdirectory(syntool) -if (BUILD_SERVICE) +if (SYNERGY_BUILD_LEGACY_SERVICE) add_subdirectory(synergyd) -endif (BUILD_SERVICE) +endif (SYNERGY_BUILD_LEGACY_SERVICE)