summaryrefslogtreecommitdiff
path: root/apps/compiler
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 /apps/compiler
parent885f45c63c10c96d8a955cf5c659e91acf325a92 (diff)
chore(CMake/Tests): use conventional CMake flag to enable tests (#3809)
Diffstat (limited to 'apps/compiler')
-rw-r--r--apps/compiler/includes/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/compiler/includes/functions.sh b/apps/compiler/includes/functions.sh
index ff25375357..6c1a842dde 100644
--- a/apps/compiler/includes/functions.sh
+++ b/apps/compiler/includes/functions.sh
@@ -35,7 +35,7 @@ function comp_configure() {
cmake $SRCPATH -DCMAKE_INSTALL_PREFIX=$BINPATH $DCONF -DSERVERS=$CSERVERS \
-DSCRIPTS=$CSCRIPTS \
- -DUNIT_TESTS=$CUNIT_TESTS \
+ -DBUILD_TESTING=$CBUILD_TESTING \
-DTOOLS=$CTOOLS -DUSE_SCRIPTPCH=$CSCRIPTPCH -DUSE_COREPCH=$CCOREPCH -DWITH_COREDEBUG=$CDEBUG -DCMAKE_BUILD_TYPE=$CTYPE -DWITH_WARNINGS=$CWARNINGS \
-DCMAKE_C_COMPILER=$CCOMPILERC -DCMAKE_CXX_COMPILER=$CCOMPILERCXX "-DDISABLED_AC_MODULES=$CDISABLED_AC_MODULES" $CCUSTOMOPTIONS