summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-24 20:33:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-24 20:33:50 -0400
commitf474d224efdc72042e947490303efafe0f14c041 (patch)
treef5491e22c3bc4c2d173f870141ed0adf07f5e9c7 /meson.build
parent16f5871fa28ee107d192ba4885b4f66e52118427 (diff)
downloadpango-f474d224efdc72042e947490303efafe0f14c041.tar.gz
build: Make harfbuzz a required dependency
We can't do without anymore, so report a clear error if harfbuzz is not found.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 72198036..8c41381c 100644
--- a/meson.build
+++ b/meson.build
@@ -256,10 +256,12 @@ if not harfbuzz_dep.found()
fallback: ['harfbuzz', 'libharfbuzz_dep'])
endif
-if harfbuzz_dep.found()
- pango_deps += harfbuzz_dep
+if not harfbuzz_dep.found()
+ error('harfbuzz not found')
endif
+pango_deps += harfbuzz_dep
+
# Only use FontConfig fallback when required or requested
fontconfig_required = (host_system != 'windows' and host_system != 'darwin') or get_option('use_fontconfig')