mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00
CMake: Set a higher default CMAKE_OSX_DEPLOYMENT_TARGET with Swift
We have tests that require 15.0 without checking for availability.
This commit is contained in:
parent
68bba89dc3
commit
30fe721a3d
Notes:
github-actions[bot]
2025-05-30 16:55:12 +00:00
Author: https://github.com/ADKaster
Commit: 30fe721a3d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4926
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,11 @@ endif()
|
|||
include("Meta/CMake/use_linker.cmake")
|
||||
|
||||
if (APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 14.0)
|
||||
if (ENABLE_SWIFT)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 15.0)
|
||||
else()
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 14.0)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Pass additional information to vcpkg toolchain files if we are using vcpkg.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue