cmake: don't detect macOS deployment target

This commit is contained in:
Matthew Bauer 2018-03-14 14:31:53 -05:00
parent acbf439fef
commit 8beb809fd1
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ cmakeConfigurePhase() {
# we never want to use the global macOS SDK
cmakeFlags="-DCMAKE_OSX_SYSROOT= $cmakeFlags"
# disable OSX deployment target
# we don't want our binaries to have a "minimum" OSX version
cmakeFlags="-DCMAKE_OSX_DEPLOYMENT_TARGET= $cmakeFlags"
# This installs shared libraries with a fully-specified install
# name. By default, cmake installs shared libraries with just the
# basename as the install name, which means that, on Darwin, they