From dbbf6def3b4b33965febd301bb7f7f00ad0856cf Mon Sep 17 00:00:00 2001 From: Andarwinux <144242044+Andarwinux@users.noreply.github.com> Date: Tue, 5 Aug 2025 02:44:44 +0000 Subject: [PATCH] add libdwrite to PC_LIBS_PRIV if directwrite is enabled --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 98571a00e..a3e7b8763 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -364,6 +364,7 @@ if (WIN32 AND HB_HAVE_DIRECTWRITE) add_definitions(-DHAVE_DIRECTWRITE) list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-directwrite.h) list(APPEND THIRD_PARTY_LIBS dwrite) + list(APPEND PC_LIBS_PRIV -ldwrite) endif () if (HB_HAVE_CAIRO)