- bumped minimum macOS version to 10.13

Apple dropped support for older versions in Xcode, and dependencies (for example, MoltenVK) no longer compile for earlier OS versions
This commit is contained in:
alexey.lysiuk 2023-10-24 10:32:02 +03:00
parent a717491a1b
commit 14c5261c09

View file

@ -345,7 +345,7 @@ else()
if( APPLE ) if( APPLE )
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12") set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13")
if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
# If we're compiling with a custom GCC on the Mac (which we know since g++-4.2 doesn't support C++11) statically link libgcc. # If we're compiling with a custom GCC on the Mac (which we know since g++-4.2 doesn't support C++11) statically link libgcc.
set( ALL_C_FLAGS "-static-libgcc" ) set( ALL_C_FLAGS "-static-libgcc" )