summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2020-04-16 20:43:49 +0200
committerGitHub <noreply@github.com>2020-04-16 20:43:49 +0200
commit7539267d370ae9a1b547008a937bd7f57bece541 (patch)
treef4a04951d7d6e5a4000e0c9bd606e457679e0374 /CMakeLists.txt
parent093e79ea78c872293386bf10b76416ff284ac5b6 (diff)
downloadminetest-7539267d370ae9a1b547008a937bd7f57bece541.tar.gz
minetest-7539267d370ae9a1b547008a937bd7f57bece541.tar.bz2
minetest-7539267d370ae9a1b547008a937bd7f57bece541.zip
Add an option to disable unittest build, & disable them on Docker build (#9677)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8cf89dd17..ae842918b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,6 +49,7 @@ set(RUN_IN_PLACE ${DEFAULT_RUN_IN_PLACE} CACHE BOOL
set(BUILD_CLIENT TRUE CACHE BOOL "Build client")
set(BUILD_SERVER FALSE CACHE BOOL "Build server")
+set(BUILD_UNITTESTS TRUE CACHE BOOL "Build unittests")
set(WARN_ALL TRUE CACHE BOOL "Enable -Wall for Release build")