diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-08-16 16:56:56 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-16 16:56:56 -0700 |
commit | 530c3a388b94411329666ac07393afcff1f11b63 (patch) | |
tree | 490540368e8e95c7f77a3e9dfeb8514a2aaa221a /scripts | |
parent | fc5bb31a5142782160882c441cfd3c244860eb7f (diff) | |
download | subsurface-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-x | scripts/build.sh | 3 |
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 \ |