meson: only install gobject/icu headers if the features are enabled
This commit is contained in:
parent
ad5dcda0b5
commit
fb3acdbcb6
|
@ -515,6 +515,8 @@ if have_icu and not have_icu_builtin
|
||||||
subdirs: [meson.project_name()],
|
subdirs: [meson.project_name()],
|
||||||
version: meson.project_version(),
|
version: meson.project_version(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install_headers(hb_icu_headers, subdir: meson.project_name())
|
||||||
else
|
else
|
||||||
libharfbuzz_icu_dep = dependency('', required: false)
|
libharfbuzz_icu_dep = dependency('', required: false)
|
||||||
endif
|
endif
|
||||||
|
@ -623,8 +625,10 @@ if have_gobject
|
||||||
subdirs: [meson.project_name()],
|
subdirs: [meson.project_name()],
|
||||||
version: meson.project_version(),
|
version: meson.project_version(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install_headers(hb_gobject_headers, subdir: meson.project_name())
|
||||||
else
|
else
|
||||||
libharfbuzz_gobject_dep = dependency('', required: false)
|
libharfbuzz_gobject_dep = dependency('', required: false)
|
||||||
endif
|
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())
|
||||||
|
|
Loading…
Reference in New Issue