Set Qt5_DIR in Travis to allow cmake to find Qt5 libraries.
This commit is contained in:
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
|
||||
|
|
Loading…
Reference in a new issue