From 7e50529867d4ad0e405f0d850a3d2a1a08d0121b Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Fri, 12 Jan 2018 15:36:54 +0100 Subject: Add a build step to test non freetype builds (#6908) * Add a build step to test non freetype builds --- util/travis/script.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') 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 \ -- cgit v1.2.3