Meta: Patch angle vcpkg to build on Linux

This involves removing x11 dependencies, and not setting angle_use_x11.
This commit is contained in:
Andrew Kaster 2025-06-24 17:18:25 -06:00 committed by Andrew Kaster
commit 435aee2b1e
Notes: github-actions[bot] 2025-06-30 14:02:29 +00:00
8 changed files with 9 additions and 33 deletions

View file

@ -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)