CMake: Define HAVE_GOBJECT when harfbuzz-gobject is built

Without this, the built library for harfbuzz-gobject is unuseful.
pull/2764/head
Chun-wei Fan 4 years ago committed by ebraminio
parent 25c0a792e3
commit 2953a66ab6
  1. 1
      CMakeLists.txt

@ -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…
Cancel
Save