summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 75e655c..e0fbb4e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,6 +22,10 @@ if (WITH-SERVICE-LEGACY)
add_subdirectory(service)
endif (WITH-SERVICE-LEGACY)
+if (WITH-SERVICE AND WITH-SERVICE-LEGACY)
+ message(FATAL_ERROR "Service and Service-legacy can't be enabled together")
+endif (WITH-SERVICE AND WITH-SERVICE-LEGACY)
+
if (WITH-ACCOUNT)
add_subdirectory(account)
endif (WITH-ACCOUNT)