1
0
Fork 0
forked from suyu/suyu

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

This commit is contained in:
archshift 2014-11-15 12:05:30 -08:00
parent 80e9c02bd6
commit bb9faf3dc5

View file

@ -8,6 +8,7 @@ if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then
cmake -DUSE_QT5=OFF .. cmake -DUSE_QT5=OFF ..
make -j4 make -j4
elif [ "$TRAVIS_OS_NAME" = osx ]; then elif [ "$TRAVIS_OS_NAME" = osx ]; then
export Qt5_DIR=$(brew --prefix)/opt/qt5
mkdir build && cd build mkdir build && cd build
cmake .. -GXcode cmake .. -GXcode
xcodebuild xcodebuild