mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Build script: make sure cmake finds Qt on Mac
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fc5bb31a51
commit
530c3a388b
1 changed files with 3 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue