CMake: Define HAVE_GOBJECT when harfbuzz-gobject is built
Without this, the built library for harfbuzz-gobject is unuseful.
This commit is contained in:
parent
25c0a792e3
commit
2953a66ab6
|
@ -302,6 +302,7 @@ if (WIN32 AND HB_HAVE_DIRECTWRITE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (HB_HAVE_GOBJECT)
|
if (HB_HAVE_GOBJECT)
|
||||||
|
add_definitions(-DHAVE_GOBJECT)
|
||||||
include (FindPerl)
|
include (FindPerl)
|
||||||
|
|
||||||
# Use the hints from glib-2.0.pc to find glib-mkenums
|
# Use the hints from glib-2.0.pc to find glib-mkenums
|
||||||
|
|
Loading…
Reference in New Issue