summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-01-12 15:36:54 +0100
committerGitHub <noreply@github.com>2018-01-12 15:36:54 +0100
commit7e50529867d4ad0e405f0d850a3d2a1a08d0121b (patch)
tree985ef52d40ca259b2c586ec20d5a8fad480fb1d3 /util
parent6f2fe8a554f01b5697112c8875e02ef52b1ef69e (diff)
downloadminetest-7e50529867d4ad0e405f0d850a3d2a1a08d0121b.tar.gz
minetest-7e50529867d4ad0e405f0d850a3d2a1a08d0121b.tar.bz2
minetest-7e50529867d4ad0e405f0d850a3d2a1a08d0121b.zip
Add a build step to test non freetype builds (#6908)
* Add a build step to test non freetype builds
Diffstat (limited to 'util')
-rwxr-xr-xutil/travis/script.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/travis/script.sh b/util/travis/script.sh
index e5be1fe32..c68638db4 100755
--- a/util/travis/script.sh
+++ b/util/travis/script.sh
@@ -22,6 +22,10 @@ if [[ ${PLATFORM} == "Unix" ]]; then
CMAKE_FLAGS+=' -DCUSTOM_GETTEXT_PATH=/usr/local/opt/gettext'
fi
+ if [[ -n "${FREETYPE}" ]] && [[ "${FREETYPE}" == "0" ]]; then
+ CMAKE_FLAGS+=' -DENABLE_FREETYPE=0'
+ fi
+
cmake -DCMAKE_BUILD_TYPE=Debug \
-DRUN_IN_PLACE=TRUE \
-DENABLE_GETTEXT=TRUE \