mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +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
|
target_link_libraries(LibGfx PRIVATE PkgConfig::WOFF2 JPEG::JPEG PNG::PNG avif WebP::webp WebP::webpdecoder
|
||||||
WebP::webpdemux WebP::libwebpmux skia harfbuzz)
|
WebP::webpdemux WebP::libwebpmux skia harfbuzz)
|
||||||
|
|
||||||
|
if (HAS_FONTCONFIG)
|
||||||
|
target_link_libraries(LibGfx PRIVATE Fontconfig::Fontconfig)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES PNG::PNG)
|
set(CMAKE_REQUIRED_LIBRARIES PNG::PNG)
|
||||||
check_c_source_compiles([=[
|
check_c_source_compiles([=[
|
||||||
#include <png.h>
|
#include <png.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue