Option to build service or not

This commit is contained in:
Jerry (Xinyu Hou) 2016-11-16 16:19:25 +00:00
parent 96efe5fb73
commit f0601119ab
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -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()