mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
Actually use Qt5 for qt5-osx build
This commit is contained in:
+1
-1
@@ -8,6 +8,6 @@ os:
|
|||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
script: mkdir build && cd build && cmake .. -DWITH_QT4=$QT4 -DWITH_SERVER=1 && make
|
script: ./travis-compile.sh
|
||||||
install: ./travis-dependencies.sh
|
install: ./travis-dependencies.sh
|
||||||
cache: apt
|
cache: apt
|
||||||
|
|||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
prefix=""
|
||||||
|
if [[ $TRAVIS_OS_NAME == "osx" && $QT4 == 0 ]]; then
|
||||||
|
prefix="-DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.3.0/"
|
||||||
|
fi
|
||||||
|
cmake .. -DWITH_SERVER=1 -DWITH_QT4=$QT4 $prefix
|
||||||
|
make
|
||||||
Reference in New Issue
Block a user