aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-03-03 21:27:46 +0100
committerShauren <shauren.trinity@gmail.com>2011-03-03 21:27:46 +0100
commit067648aad60d3e62c6df1b969e7343f660452b24 (patch)
tree101890a272534b11a123bc82675d01f2567557a3
parenteea7efa463a767f70022bae03c48e1839d0ed5d3 (diff)
Buildsystem: Compile bzip2 project only with map tools
-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()