Skip to content

Commit

Permalink
Merge pull request input-leap#1919 from shymega/fix/clean-build-macos
Browse files Browse the repository at this point in the history
fix(macOS): Add check for `macos_environment.sh` in build script
  • Loading branch information
p12tic authored Jun 18, 2024
2 parents 3ffbff2 + 26f2fa1 commit ef7585e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clean_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=${B_BUILD_TYPE} ${B_CMAKE_FLAGS:-}"

if [ "$(uname)" = "Darwin" ]; then
# macOS needs a little help, so we source this environment script to fix paths.
. ./macos_environment.sh
[ -e ./macos_environment.sh ] && . ./macos_environment.sh
B_CMAKE_FLAGS="${B_CMAKE_FLAGS} -DCMAKE_OSX_SYSROOT=$(xcode-select --print-path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9"
fi

Expand Down

0 comments on commit ef7585e

Please sign in to comment.