mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Add ANGLE
ANGLE is going to be used for WebGL implementation in upcoming changes.
This commit is contained in:
parent
f719b05ab9
commit
4f219f46ee
Notes:
github-actions[bot]
2024-12-03 22:37:47 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 4f219f46ee
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2688
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 19 additions and 0 deletions
|
@ -2,6 +2,10 @@ include(libweb_generators)
|
|||
include(vulkan)
|
||||
include(skia)
|
||||
|
||||
if (APPLE)
|
||||
find_package(unofficial-angle REQUIRED CONFIG)
|
||||
endif()
|
||||
|
||||
set(SOURCES
|
||||
Animations/Animatable.cpp
|
||||
Animations/Animation.cpp
|
||||
|
@ -873,6 +877,13 @@ serenity_lib(LibWeb web)
|
|||
|
||||
target_link_libraries(LibWeb PRIVATE LibCore LibCompress LibCrypto LibJS LibHTTP LibGfx LibIPC LibRegex LibSyntax LibTextCodec LibUnicode LibMedia LibWasm LibXML LibIDL LibURL LibTLS LibRequests LibGC skia)
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(LibWeb PRIVATE unofficial::angle::libEGL unofficial::angle::libGLESv2)
|
||||
endif()
|
||||
|
||||
# FIXME: https://github.com/microsoft/vcpkg/issues/42324
|
||||
target_include_directories(LibWeb PRIVATE ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include)
|
||||
|
||||
generate_js_bindings(LibWeb)
|
||||
|
||||
if (ENABLE_SWIFT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue