Skip to content
Permalink
Browse files

Fix deployment target typo in macOS build scripts

- Rename compile flag `OSX_DEPLOYMENT_TARGET` ->
  `CMAKE_OSX_DEPLOYMENT_TARGET`, and
- bump deployment target from 10.11 to 10.12 for non-legacy builds.
  • Loading branch information...
fleischie committed Sep 5, 2019
1 parent 5e6bf5e commit bdba530bbfe2d8bad27eafdb46f7910e2964d885
Showing with 2 additions and 2 deletions.
  1. +1 −1 scripts/mac_build/build_mac.sh
  2. +1 −1 scripts/mac_build/build_mac_legacy.sh
@@ -1,5 +1,5 @@
#!/bin/bash
mkdir build
cd build
Qt5_DIR=/usr/local/opt/qt cmake -DOSX_DEPLOYMENT_TARGET=10.11 -DCMAKE_BUILD_TYPE=Release -DSAFE_INSTALL=ON -DSAFE_UNINSTALL=ON -DMAC_LEGACY=0 .. -DUSE_BREW_QUAZIP=0 -DUSE_BREW_QT5=1 -DUSE_PORTAUDIO=1
Qt5_DIR=/usr/local/opt/qt cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 -DCMAKE_BUILD_TYPE=Release -DSAFE_INSTALL=ON -DSAFE_UNINSTALL=ON -DMAC_LEGACY=0 .. -DUSE_BREW_QUAZIP=0 -DUSE_BREW_QT5=1 -DUSE_PORTAUDIO=1
make -j4 macos-package
@@ -1,5 +1,5 @@
#!/bin/bash
mkdir build
cd build
Qt5_DIR=~/Qt5.6.2/5.6/clang_64/ cmake -DOSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_BUILD_TYPE=Release -DSAFE_INSTALL=ON -DSAFE_UNINSTALL=ON -DMAC_LEGACY=1 .. -DUSE_BREW_QUAZIP=0 -DUSE_BREW_QT5=0 -DUSE_PORTAUDIO=1
Qt5_DIR=~/Qt5.6.2/5.6/clang_64/ cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_BUILD_TYPE=Release -DSAFE_INSTALL=ON -DSAFE_UNINSTALL=ON -DMAC_LEGACY=1 .. -DUSE_BREW_QUAZIP=0 -DUSE_BREW_QT5=0 -DUSE_PORTAUDIO=1
make -j4 macos-package

0 comments on commit bdba530

Please sign in to comment.
You can’t perform that action at this time.