chore(CMake/Tests): use conventional CMake flag to enable tests (#3809)

This commit is contained in:
Francesco Borzì
2020-11-29 19:28:47 +01:00
committed by GitHub
parent 885f45c63c
commit c838b371dd
7 changed files with 7 additions and 7 deletions

View File

@@ -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)

2
conf/dist/config.sh vendored
View File

@@ -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