mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-22 15:45:22 +03:00
fix build script
This commit is contained in:
parent
4da5c29e5f
commit
786d513379
@ -16,9 +16,9 @@ if [ "$(uname)" = "Darwin" ]; then
|
||||
source ./osx_environment.sh
|
||||
B_CMAKE_FLAGS="-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 $B_CMAKE_FLAGS"
|
||||
fi
|
||||
B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=$B_BUILD_TYPE $B_CMAKE_FLAGS"
|
||||
# allow local customizations to build environment
|
||||
[ -r ./unixbuild_env.sh ] && source ./unixbuild_env.sh
|
||||
B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=$B_BUILD_TYPE $B_CMAKE_FLAGS"
|
||||
rm -rf build
|
||||
mkdir build || exit 1
|
||||
cd build || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user