Set Qt5_DIR in Travis to allow cmake to find Qt5 libraries.

merge-requests/60/head
archshift 2014-11-15 12:05:30 +07:00
parent 80e9c02bd6
commit bb9faf3dc5
1 changed files with 1 additions and 0 deletions

@ -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