Skip to content

Commit

Permalink
Try to compile directly using CMAKE_FLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Mar 27, 2018
1 parent 7da352c commit e6a7d97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions util/travis/script.sh
Expand Up @@ -26,6 +26,10 @@ if [[ ${PLATFORM} == "Unix" ]]; then
CMAKE_FLAGS+=' -DENABLE_FREETYPE=0'
fi

if [[ "${COMPILER}" == "clang-6.0" ]]; then
CMAKE_FLAGS+=' -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0'
fi

cmake -DCMAKE_BUILD_TYPE=Debug \
-DRUN_IN_PLACE=TRUE \
-DENABLE_GETTEXT=TRUE \
Expand Down

0 comments on commit e6a7d97

Please sign in to comment.