mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 13:45:49 +08:00
Remove file existence check for Mac environment variables
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
7
Cargo.toml
Normal file
7
Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "barrier"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
@@ -24,7 +24,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.
|
||||
[ -e "./macos_environment.sh" ] && . ./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
|
||||
|
||||
0
src/lib.rs
Normal file
0
src/lib.rs
Normal file
Reference in New Issue
Block a user