mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGfx: Explicitly link against fontconfig
This commit is contained in:
parent
b7b5e71767
commit
d4a5d16d27
Notes:
github-actions[bot]
2025-06-17 22:56:57 +00:00
Author: https://github.com/vpzomtrrfrt
Commit: d4a5d16d27
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4741
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ find_package(harfbuzz REQUIRED)
|
|||
target_link_libraries(LibGfx PRIVATE PkgConfig::WOFF2 JPEG::JPEG PNG::PNG avif WebP::webp WebP::webpdecoder
|
||||
WebP::webpdemux WebP::libwebpmux skia harfbuzz)
|
||||
|
||||
if (HAS_FONTCONFIG)
|
||||
target_link_libraries(LibGfx PRIVATE Fontconfig::Fontconfig)
|
||||
endif()
|
||||
|
||||
set(CMAKE_REQUIRED_LIBRARIES PNG::PNG)
|
||||
check_c_source_compiles([=[
|
||||
#include <png.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue