From 2953a66ab685957f57e52fb45f42445030d41e06 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 9 Dec 2020 12:24:18 +0800 Subject: [PATCH] CMake: Define HAVE_GOBJECT when harfbuzz-gobject is built Without this, the built library for harfbuzz-gobject is unuseful. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 764a41f2b..11118595f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -302,6 +302,7 @@ if (WIN32 AND HB_HAVE_DIRECTWRITE) endif () if (HB_HAVE_GOBJECT) + add_definitions(-DHAVE_GOBJECT) include (FindPerl) # Use the hints from glib-2.0.pc to find glib-mkenums