Force set CMAKE_OSX_DEPLOYMENT_TARGET to 10.15

This commit is contained in:
Paulchen-Panther 2024-11-30 18:15:50 +01:00 committed by GitHub
parent e9c691eec2
commit ee48f0c9b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -176,7 +176,7 @@ endmacro()
if("${PLATFORM}" MATCHES "osx")
# specify the min version of the target platform (only GitHub Actions)
if(DEFINED ENV{GITHUB_WORKSPACE})
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "Minimum macOS version the build will be able to run on" FORCE)
endif()
# add specific prefix paths