From fb3acdbcb645f30671db0776577652d7545d21ed Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 19 Apr 2020 14:57:04 +0200 Subject: [PATCH] meson: only install gobject/icu headers if the features are enabled --- src/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 9787f2899..8f21be328 100644 --- a/src/meson.build +++ b/src/meson.build @@ -515,6 +515,8 @@ if have_icu and not have_icu_builtin subdirs: [meson.project_name()], version: meson.project_version(), ) + + install_headers(hb_icu_headers, subdir: meson.project_name()) else libharfbuzz_icu_dep = dependency('', required: false) endif @@ -623,8 +625,10 @@ if have_gobject subdirs: [meson.project_name()], version: meson.project_version(), ) + + install_headers(hb_gobject_headers, subdir: meson.project_name()) else libharfbuzz_gobject_dep = dependency('', required: false) endif -install_headers(hb_headers + hb_gobject_headers + hb_subset_headers + hb_icu_headers, subdir: meson.project_name()) +install_headers(hb_headers + hb_subset_headers, subdir: meson.project_name())