mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01: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
|
|
@ -11,8 +11,12 @@ endif()
|
|||
include("Meta/CMake/use_linker.cmake")
|
||||
|
||||
if (APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET)
|
||||
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.
|
||||
if (CMAKE_TOOLCHAIN_FILE MATCHES "vcpkg.cmake$")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user