fix build script

This commit is contained in:
walker0643 2018-03-01 12:22:54 -05:00
parent 4da5c29e5f
commit 786d513379
1 changed files with 1 additions and 1 deletions

View File

@ -16,9 +16,9 @@ if [ "$(uname)" = "Darwin" ]; then
source ./osx_environment.sh 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" 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 fi
B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=$B_BUILD_TYPE $B_CMAKE_FLAGS"
# allow local customizations to build environment # allow local customizations to build environment
[ -r ./unixbuild_env.sh ] && source ./unixbuild_env.sh [ -r ./unixbuild_env.sh ] && source ./unixbuild_env.sh
B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=$B_BUILD_TYPE $B_CMAKE_FLAGS"
rm -rf build rm -rf build
mkdir build || exit 1 mkdir build || exit 1
cd build || exit 1 cd build || exit 1