mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
meson: only install gobject/icu headers if the features are enabled
This commit is contained in:
1 parent
ad5dcda0b5
commit
fb3acdbcb6
1 file changed
+5
-1
+5
-1
@@ -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())
|
||||
Reference in new issue
Block a user