Build script: make sure cmake finds Qt on Mac

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-08-16 16:56:56 -07:00
parent fc5bb31a51
commit 530c3a388b

View file

@ -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 \