Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c02833edc5077e35a3f84c658bd7d14584922cc8
https://github.com/WebKit/WebKit/commit/c02833edc5077e35a3f84c658bd7d14584922cc8
Author: Geoffrey Garen <[email protected]>
Date: 2026-05-27 (Wed, 27 May 2026)
Changed paths:
M CMakeLists.txt
M Source/WebKit/PlatformIOS.cmake
M Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm
M Source/WebKitLegacy/PlatformIOS.cmake
M Source/cmake/OptionsIOS.cmake
M Source/cmake/OptionsMac.cmake
M Source/cmake/WebKitCommon.cmake
Log Message:
-----------
[CMake] iOS build fixes
https://bugs.webkit.org/show_bug.cgi?id=315683
rdar://178073543
Reviewed by Pascoe.
* CMakeLists.txt: Enable CMP0157 here because Swift needs it early.
Use the shared WEBKIT_XCRUN to make sure that we maintain a consistent
toolchain + SDK.
* Source/WebKit/PlatformIOS.cmake: Depend on WebKit_StageFrameworkHeaders
because we use them.
* Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest): Use
ENABLE(APPLE_PAY_DELEGATED_REQUEST) because that's the corresponding
check in WebCore. (They differ in my current SDK.)
* Source/WebKitLegacy/PlatformIOS.cmake: No need to special case WebCore
headers now that we properly depend on WebKit_StageFrameworkHeaders.
* Source/cmake/OptionsIOS.cmake: Use the shared WEBKIT_XCRUN to make
sure that we maintain a consistent toolchain + SDK.
* Source/cmake/OptionsMac.cmake: Moved to root CMakeLists to share with iOS.
* Source/cmake/WebKitCommon.cmake: Add CMAKE_OSX_SYSROOT to the stamp
because nothing good will happen if you change the sysroot but don't
update the rest of the build. (And, for some reason, claude decided
to trying doing it anyway.)
Canonical link: https://commits.webkit.org/313992@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications