diff options
Diffstat (limited to 'util/travis')
-rwxr-xr-x | util/travis/script.sh | 4 |
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 \ |