mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
CMake: Set default CMAKE_OSX_DEPLOYMENT_TARGET to 14.0
This makes the build system aware of which macOS version we're targeting, and will make it an error to newer APIs without explicitly checking the availability. Note that the js REPL CI job still sets the deployment target to 11.0 explicitly.
This commit is contained in:
parent
6c3ceb9284
commit
bd3135f8d3
Notes:
github-actions[bot]
2025-05-27 19:40:34 +00:00
Author: https://github.com/cheif 🔰
Commit: bd3135f8d3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4889
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ serenity_option(ENABLE_SWIFT OFF CACHE BOOL "Enable building Swift files")
|
|||
serenity_option(ENABLE_STD_STACKTRACE OFF CACHE BOOL "Force use of std::stacktrace instead of libbacktrace. If it is not supported the build will fail")
|
||||
serenity_option(ENABLE_WINDOWS_CI OFF CACHE BOOL "Enable building targets supported on Windows for CI")
|
||||
|
||||
if (APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 14.0)
|
||||
endif()
|
||||
|
||||
if (ENABLE_SWIFT)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/Swift/swift-settings.cmake)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue