aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dep/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt
index 3e4060af446..226d564fdc6 100644
--- a/dep/CMakeLists.txt
+++ b/dep/CMakeLists.txt
@@ -27,7 +27,9 @@ if(CMAKE_SYSTEM_NAME MATCHES "Windows")
add_subdirectory(mysqllite)
endif()
endif()
- add_subdirectory(bzip2)
+ if(TOOLS)
+ add_subdirectory(bzip2)
+ endif()
add_subdirectory(zlib)
endif()