mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build.sh: Don't even clone marble if we don't build against it
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7079bc5abf
commit
083b7e83ae
1 changed files with 28 additions and 26 deletions
|
@ -139,6 +139,7 @@ cd $SRC
|
|||
|
||||
# build libssrfmarblewidget
|
||||
|
||||
if [ $BUILD_MARBLE = 1 ]; then
|
||||
if [ ! -d marble-source ] ; then
|
||||
if [[ $1 = local ]] ; then
|
||||
git clone $SRC/../marble-source marble-source
|
||||
|
@ -166,8 +167,9 @@ if [ $PLATFORM = Darwin ] ; then
|
|||
echo "cannot find Qt 5.5 or 5.6 in ~/Qt"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
fi
|
||||
if [ "$BUILDMARBLE" = "1" ] ; then
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE -DQT5BUILD=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT \
|
||||
-DBUILD_MARBLE_TESTS=NO \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue