diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 50ec14b9..4bd43561 100644 --- a/meson.build +++ b/meson.build @@ -247,6 +247,12 @@ harfbuzz_dep = dependency('harfbuzz', pango_deps += harfbuzz_dep +if harfbuzz_dep.type_name() != 'internal' + if cc.has_function('hb_ot_color_has_layers', dependencies: harfbuzz_dep) + pango_conf.set('HAVE_HB_OT_COLOR_HAS_LAYERS', 1) + endif +endif + # If option is 'auto' or 'enabled' it is not required to find fontconfig on the # system because a fallback is done at the end. Override 'disabled' option on # platforms that requires it. |