diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-14 14:30:10 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-14 14:30:10 -0500 |
commit | acbf439fef3de30956f78118b69b2804c9d8dcc2 (patch) | |
tree | 277a78d8433587f84481ae445e2b3142c071c84f /pkgs/development/tools/build-managers | |
parent | b99cae3931d23f522c61b37d9d0f737372f5bf0c (diff) | |
download | nixpkgs-acbf439fef3de30956f78118b69b2804c9d8dcc2.tar nixpkgs-acbf439fef3de30956f78118b69b2804c9d8dcc2.tar.gz nixpkgs-acbf439fef3de30956f78118b69b2804c9d8dcc2.tar.bz2 nixpkgs-acbf439fef3de30956f78118b69b2804c9d8dcc2.tar.lz nixpkgs-acbf439fef3de30956f78118b69b2804c9d8dcc2.tar.xz nixpkgs-acbf439fef3de30956f78118b69b2804c9d8dcc2.tar.zst nixpkgs-acbf439fef3de30956f78118b69b2804c9d8dcc2.zip |
cmake: disable detecting global macOS sdk
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rwxr-xr-x | pkgs/development/tools/build-managers/cmake/setup-hook.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/cmake/setup-hook.sh b/pkgs/development/tools/build-managers/cmake/setup-hook.sh index 4607453867f..b7a4ab3d6f0 100755 --- a/pkgs/development/tools/build-managers/cmake/setup-hook.sh +++ b/pkgs/development/tools/build-managers/cmake/setup-hook.sh @@ -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 |