mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
Meta: Patch angle vcpkg to build on Linux
This involves removing x11 dependencies, and not setting angle_use_x11.
This commit is contained in:
parent
8e9753eadb
commit
435aee2b1e
Notes:
github-actions[bot]
2025-06-30 14:02:29 +00:00
Author: https://github.com/ayeteadoe
Commit: 435aee2b1e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5240
Reviewed-by: https://github.com/ADKaster ✅
8 changed files with 9 additions and 33 deletions
|
@ -2,7 +2,7 @@ include(libweb_generators)
|
|||
include(vulkan)
|
||||
include(skia)
|
||||
|
||||
if (APPLE)
|
||||
if (APPLE OR LINUX)
|
||||
find_package(unofficial-angle REQUIRED CONFIG)
|
||||
endif()
|
||||
|
||||
|
@ -1016,7 +1016,7 @@ 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 LibThreading skia)
|
||||
|
||||
if (APPLE)
|
||||
if (APPLE OR LINUX)
|
||||
target_link_libraries(LibWeb PRIVATE unofficial::angle::libEGL unofficial::angle::libGLESv2)
|
||||
else()
|
||||
target_link_libraries(LibWeb PRIVATE GL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue