summaryrefslogtreecommitdiffstats
path: root/packaging/macosx
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-04 03:56:51 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-04 03:56:51 +0900
commit20254a43c09bac9c28226aeb55c2a95865a4ec4a (patch)
treedcce6c3d00cfd219bcb0f8e895d1e6bd604bbfa9 /packaging/macosx
parentbd18b6b88fb0349d2b738f57ebe8ec3d1cfac2a0 (diff)
downloadsubsurface-20254a43c09bac9c28226aeb55c2a95865a4ec4a.tar.gz
Mac packaging: don't lose minimum version
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/macosx')
-rwxr-xr-xpackaging/macosx/make-package.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh
index 2e94c050f..5392f9100 100755
--- a/packaging/macosx/make-package.sh
+++ b/packaging/macosx/make-package.sh
@@ -16,7 +16,9 @@ DMGCREATE=${DIR}/yoursway-create-dmg/create-dmg
VERSION=$(cd ${DIR}/subsurface; ./scripts/get-version linux)
# first build and install Subsurface and then clean up the staging area
+# make sure we didn't lose the minimum OS version
rm -rf ./Subsurface.app
+cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.10.sdk/ .
LIBRARY_PATH=${DIR}/install-root/lib make -j8
LIBRARY_PATH=${DIR}/install-root/lib make install