From 5e9710ffc0c6bd1975107c498ea81662cc2f7fb4 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 30 Nov 2023 17:42:46 +0800 Subject: [PATCH] CMake: Update introspection cflags Make the flags between --cflags-[begin|end] correspond to the ones used in the Meson builds better. --- CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80ef66877..8d6deef30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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