mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 07:45:39 +00:00
Merge branch 'mac-build-compiler-flags' into 'master'
[TWEAK] Set cxx c compiler flags as cmake vars in mac build script See merge request OpenMW/openmw!4300
This commit is contained in:
commit
27ea613293
1 changed files with 2 additions and 3 deletions
|
@ -1,8 +1,5 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
export CXX=clang++
|
||||
export CC=clang
|
||||
|
||||
# Silence a git warning
|
||||
git config --global advice.detachedHead false
|
||||
|
||||
|
@ -21,6 +18,8 @@ declare -a CMAKE_CONF_OPTS=(
|
|||
-D CMAKE_C_COMPILER_LAUNCHER="$CCACHE_EXECUTABLE"
|
||||
-D CMAKE_CXX_COMPILER_LAUNCHER="$CCACHE_EXECUTABLE"
|
||||
-D CMAKE_CXX_FLAGS="-stdlib=libc++"
|
||||
-D CMAKE_C_COMPILER="clang"
|
||||
-D CMAKE_CXX_COMPILER="clang++"
|
||||
-D CMAKE_OSX_DEPLOYMENT_TARGET="13.6"
|
||||
-D OPENMW_USE_SYSTEM_RECASTNAVIGATION=TRUE
|
||||
-D Boost_INCLUDE_DIR="$DEPENDENCIES_ROOT/include"
|
||||
|
|
Loading…
Reference in a new issue