summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2020-11-29 19:28:47 +0100
committerGitHub <noreply@github.com>2020-11-29 19:28:47 +0100
commitc838b371dd2a25f9fc9d12d4849bb54046a49291 (patch)
tree5769cac17d38703bb0e37ab982fc5aeb604e5354 /conf
parent885f45c63c10c96d8a955cf5c659e91acf325a92 (diff)
chore(CMake/Tests): use conventional CMake flag to enable tests (#3809)
Diffstat (limited to 'conf')
-rw-r--r--conf/dist/config.cmake2
-rw-r--r--conf/dist/config.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/dist/config.cmake b/conf/dist/config.cmake
index dd6abcbd25..3b2000b638 100644
--- a/conf/dist/config.cmake
+++ b/conf/dist/config.cmake
@@ -1,6 +1,6 @@
option(SERVERS "Build worldserver and authserver" 1)
option(SCRIPTS "Build core with scripts included" 1)
-option(UNIT_TESTS "Build unit tests" 0)
+option(BUILD_TESTING "Build unit tests" 0)
option(TOOLS "Build map/vmap/mmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
diff --git a/conf/dist/config.sh b/conf/dist/config.sh
index 9d6492d6df..7bdd13f949 100644
--- a/conf/dist/config.sh
+++ b/conf/dist/config.sh
@@ -48,7 +48,7 @@ CTYPE=Release
# compile scripts
CSCRIPTS=ON
# compile unit tests
-CUNIT_TESTS=OFF
+CBUILD_TESTING=OFF
# compile server
CSERVERS=ON
# compile tools