cmake: disable detecting global macOS sdk

This commit is contained in:
Matthew Bauer 2018-03-14 14:30:10 -05:00
parent b99cae3931
commit acbf439fef
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ cmakeConfigurePhase() {
# because we usually do not package the framework
cmakeFlags="-DCMAKE_FIND_FRAMEWORK=last $cmakeFlags"
# we never want to use the global macOS SDK
cmakeFlags="-DCMAKE_OSX_SYSROOT= $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