summaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-12 20:24:19 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-12 20:24:24 -0700
commit5f9ca5f2ecabcdfe83a6707b58fea106180b6c7d (patch)
tree27e51285278d9e71038d7d090f1ee58e8255cfac /scripts/build.sh
parent86a98867f13ba2e71a1ba0d3262a892b96a8b745 (diff)
downloadsubsurface-5f9ca5f2ecabcdfe83a6707b58fea106180b6c7d.tar.gz
Add Qt 5.7 and 5.8 for Darwin in build script
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index fd62d2c1f..211419be0 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -174,10 +174,14 @@ if [ $BUILDMARBLE = 1 ]; then
mkdir -p build
cd build
if [ $PLATFORM = Darwin ] ; then
- if [ -d "$HOME/Qt/5.5" ] ; then
- export CMAKE_PREFIX_PATH=~/Qt/5.5/clang_64/lib/cmake
+ if [ -d "$HOME/Qt/5.8" ] ; then
+ export CMAKE_PREFIX_PATH=~/Qt/5.8/clang_64/lib/cmake
+ elif [ -d "$HOME/Qt/5.7" ] ; then
+ export CMAKE_PREFIX_PATH=~/Qt/5.7/clang_64/lib/cmake
elif [ -d "$HOME/Qt/5.6" ] ; then
export CMAKE_PREFIX_PATH=~/Qt/5.6/clang_64/lib/cmake
+ elif [ -d "$HOME/Qt/5.5" ] ; then
+ export CMAKE_PREFIX_PATH=~/Qt/5.5/clang_64/lib/cmake
elif [ -d /usr/local/opt/qt5/lib ] ; then
# Homebrew location for qt5 package
export CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake