diff --git a/CMakeLists.txt b/CMakeLists.txt index 67437548..ab3bfe8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -364,3 +364,5 @@ if (CONF_DOXYGEN) configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg) endif() + +option(BUILD_SERVICE "Build synergyd" ON) diff --git a/src/cmd/CMakeLists.txt b/src/cmd/CMakeLists.txt index 7a7ed82a..2adf419e 100644 --- a/src/cmd/CMakeLists.txt +++ b/src/cmd/CMakeLists.txt @@ -16,10 +16,13 @@ add_subdirectory(synergyc) add_subdirectory(synergys) -add_subdirectory(synergyd) add_subdirectory(usynergy) add_subdirectory(syntool) +if (BUILD_SERVICE) + add_subdirectory(synergyd) +endif (BUILD_SERVICE) + if (WIN32) add_subdirectory(synergyp) endif()