cmake: Update macOS development version requirements
To be able to make use of macOS 15 features, development must use the macOS 15 SDK and in turn Xcode 16.0 (or more recent).
This commit is contained in:
parent
7f04039afe
commit
45a89ab199
1 changed files with 2 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ endif()
|
|||
set_property(CACHE CMAKE_OSX_ARCHITECTURES PROPERTY STRINGS arm64 x86_64)
|
||||
|
||||
# Ensure recent enough Xcode and platform SDK
|
||||
set(_obs_macos_minimum_sdk 14.2) # Keep in sync with Xcode
|
||||
set(_obs_macos_minimum_xcode 15.1) # Keep in sync with SDK
|
||||
set(_obs_macos_minimum_sdk 15.0) # Keep in sync with Xcode
|
||||
set(_obs_macos_minimum_xcode 16.0) # Keep in sync with SDK
|
||||
message(DEBUG "macOS SDK Path: ${CMAKE_OSX_SYSROOT}")
|
||||
string(REGEX MATCH ".+/MacOSX.platform/Developer/SDKs/MacOSX([0-9]+\\.[0-9])+\\.sdk$" _ ${CMAKE_OSX_SYSROOT})
|
||||
set(_obs_macos_current_sdk ${CMAKE_MATCH_1})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue