CMake: Update introspection cflags

Make the flags between --cflags-[begin|end] correspond to the ones used in the
Meson builds better.
This commit is contained in:
Chun-wei Fan 2023-11-30 17:42:46 +08:00
parent ea526c3dcb
commit 5e9710ffc0

View file

@ -667,14 +667,8 @@ if (HB_HAVE_INTROSPECTION)
-I${PROJECT_BINARY_DIR}/src
${hb_includedir_cflags}
${hb_defines_cflags}
-DHB_H
-DHB_H_IN
-DHB_OT_H
-DHB_OT_H_IN
-DHB_AAT_H
-DHB_AAT_H_IN
-DHB_GOBJECT_H
-DHB_GOBJECT_H_IN
-DHB_NO_SINGLE_HEADER_ERROR
-DHB_HAVE_GOBJECT
-DHB_EXTERN=
--cflags-end
--library=harfbuzz-gobject