diff options
author | Markus Härer <markus.haerer@gmx.net> | 2023-05-07 19:35:29 +0200 |
---|---|---|
committer | Markus Härer <markus.haerer@gmx.net> | 2023-06-04 14:20:06 +0200 |
commit | 5576fff0b58c52c53309d7efe26491c23efa6966 (patch) | |
tree | 5d8974c4fa5595903e6180bdaa548fe00de3dd10 /tools | |
parent | 35be40daa39965a9ea5b3569eb7d515e6a14da5d (diff) |
[osx] Raise min OSX version to 10.14 for x86_64
Required for c++17 features used by flatbuffers.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/configure.ac | 4 | ||||
-rw-r--r-- | tools/depends/native/Toolchain-Native.cmake.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac index beff432e22..d5df0a991e 100644 --- a/tools/depends/configure.ac +++ b/tools/depends/configure.ac @@ -187,7 +187,7 @@ case $build in *darwin*) build_os="osx" if test "x$build_cpu" = "xx86_64"; then - host_includes="-arch x86_64 -mmacosx-version-min=10.13" + host_includes="-arch x86_64 -mmacosx-version-min=10.14" else host_includes="-arch arm64 -mmacosx-version-min=11.0" fi @@ -461,7 +461,7 @@ case $host in AC_MSG_ERROR(invalid architecture (--with-cpu=$use_cpu)) fi - target_minver="10.13" + target_minver="10.14" # check provided window system is valid_sdk # if no window system supplied, default to SDL for now. diff --git a/tools/depends/native/Toolchain-Native.cmake.in b/tools/depends/native/Toolchain-Native.cmake.in index c5f5643ab6..a597100518 100644 --- a/tools/depends/native/Toolchain-Native.cmake.in +++ b/tools/depends/native/Toolchain-Native.cmake.in @@ -19,7 +19,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin) if(CPU STREQUAL arm64) set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0) else() - set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13) + set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14) endif() set(CMAKE_OSX_SYSROOT "@host_sysroot@") |