Build script: remove Subsurface.app before building on Mac

The make install step otherwise will give some odd warnings as it tries to
adjust things from build to deploy.

Signed-off-by: Dirk Hohndel (Intel) <dhohndel@dhohndel-mac02.jf.intel.com>
This commit is contained in:
Dirk Hohndel (Intel) 2015-06-02 10:43:13 -07:00
parent 5823683229
commit 0ae40b4069

View file

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