aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dep/CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt
index 3b3be7e1551..ae1044969e0 100644
--- a/dep/CMakeLists.txt
+++ b/dep/CMakeLists.txt
@@ -21,17 +21,21 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
endif()
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
- if(USE_MYSQL_SOURCES)
+ if(USE_MYSQL_SOURCES AND SERVERS)
add_subdirectory(mysqllite)
endif()
if(TOOLS)
add_subdirectory(bzip2)
endif()
- add_subdirectory(zlib)
+ if(SERVERS OR TOOLS)
+ add_subdirectory(zlib)
+ endif()
endif()
-add_subdirectory(g3dlite)
-add_subdirectory(recastnavigation)
+if(SERVERS OR TOOLS)
+ add_subdirectory(g3dlite)
+ add_subdirectory(recastnavigation)
+endif()
if(SERVERS)
add_subdirectory(gsoap)