From 530c3a388b94411329666ac07393afcff1f11b63 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 16 Aug 2015 16:56:56 -0700 Subject: Build script: make sure cmake finds Qt on Mac Signed-off-by: Dirk Hohndel --- scripts/build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') 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 \ -- cgit v1.2.3-70-g09d2