CMake: Define HAVE_GOBJECT when harfbuzz-gobject is built

Without this, the built library for harfbuzz-gobject is unuseful.
This commit is contained in:
Chun-wei Fan 2020-12-09 12:24:18 +08:00 committed by ebraminio
parent 25c0a792e3
commit 2953a66ab6
1 changed files with 1 additions and 0 deletions

View File

@ -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