From bb9faf3dc5abbe8f23257826592a0cc37aa56ada Mon Sep 17 00:00:00 2001 From: archshift Date: Sat, 15 Nov 2014 12:05:30 -0800 Subject: [PATCH] Set Qt5_DIR in Travis to allow cmake to find Qt5 libraries. --- .travis-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis-build.sh b/.travis-build.sh index 672d282cc..78e7583a8 100644 --- a/.travis-build.sh +++ b/.travis-build.sh @@ -8,6 +8,7 @@ if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then cmake -DUSE_QT5=OFF .. make -j4 elif [ "$TRAVIS_OS_NAME" = osx ]; then + export Qt5_DIR=$(brew --prefix)/opt/qt5 mkdir build && cd build cmake .. -GXcode xcodebuild