summaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 9e510abbd..361e02ca6 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -151,5 +151,9 @@ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT .. \
-DMARBLE_LIBRARIES=$INSTALL_ROOT/lib/libssrfmarblewidget.$SH_LIB_EXT \
-DUSE_LIBGIT23_API=1
+if [ $PLATFORM = Darwin ] ; then
+ rm -rf Subsurface.app
+fi
+
make -j4
make install