mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 10:23:01 -06:00
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 ..
|
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
|
||||||
|
|
Loading…
Reference in a new issue