LibGfx: Enable in Windows CI
This commit is contained in:
parent
2f7a83304f
commit
2119ea982e
2 changed files with 13 additions and 1 deletions
|
|
@ -16,6 +16,10 @@ add_subdirectory(LibUnicode)
|
|||
add_subdirectory(LibURL)
|
||||
add_subdirectory(LibXML)
|
||||
|
||||
if (ENABLE_GUI_TARGETS)
|
||||
add_subdirectory(LibGfx)
|
||||
endif()
|
||||
|
||||
# FIXME: Increase support for building targets on Windows
|
||||
if (WIN32 AND ENABLE_WINDOWS_CI)
|
||||
return()
|
||||
|
|
@ -29,7 +33,6 @@ add_subdirectory(LibWebSocket)
|
|||
|
||||
if (ENABLE_GUI_TARGETS)
|
||||
add_subdirectory(LibDevTools)
|
||||
add_subdirectory(LibGfx)
|
||||
add_subdirectory(LibImageDecoderClient)
|
||||
add_subdirectory(LibMedia)
|
||||
add_subdirectory(LibWeb)
|
||||
|
|
|
|||
|
|
@ -142,6 +142,15 @@ endif()
|
|||
|
||||
if (NOT ANDROID)
|
||||
pkg_check_modules(Jxl REQUIRED IMPORTED_TARGET libjxl)
|
||||
if (WIN32)
|
||||
# FIXME: Build vcpkg libraries with clang-cl so they can also build in sanitize.
|
||||
# https://github.com/LadybirdBrowser/ladybird/issues/5224
|
||||
if (ENABLE_WINDOWS_CI)
|
||||
# We have to disable ASAN for the full target as fixing the issue in the initial SkiaBackendContext.cpp TU
|
||||
# alone causes transitive issues in other TUs that depend on it
|
||||
target_compile_options(LibGfx PRIVATE -fno-sanitize=address)
|
||||
endif()
|
||||
endif()
|
||||
target_link_libraries(LibGfx PRIVATE PkgConfig::Jxl)
|
||||
else()
|
||||
find_package(libjxl REQUIRED)
|
||||
|
|
|
|||
Loading…
Reference in a new issue