summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-16 16:56:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-16 16:56:56 -0700
commit530c3a388b94411329666ac07393afcff1f11b63 (patch)
tree490540368e8e95c7f77a3e9dfeb8514a2aaa221a /scripts
parentfc5bb31a5142782160882c441cfd3c244860eb7f (diff)
downloadsubsurface-530c3a388b94411329666ac07393afcff1f11b63.tar.gz
Build script: make sure cmake finds Qt on Mac
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index bac647697..9a3ed5a4c 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -141,6 +141,9 @@ if ! git checkout Subsurface-testing ; then
fi
mkdir -p build
cd build
+if [ $PLATFORM = Darwin ] ; then
+ export CMAKE_PREFIX_PATH=~/Qt/5.5/clang_64/lib/cmake
+fi
cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE -DQT5BUILD=ON \
-DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT \
-DBUILD_MARBLE_TESTS=NO \