summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-08-01 09:51:51 +0100
committerRichard Hughes <richard@hughsie.com>2017-08-03 10:34:42 +0100
commit17fb0e8a65ad03083a29a491b05a01d09da9895b (patch)
treeedcedabbf1597e04e7edf97b76ab20f2b8a814b8 /meson.build
parent280b4247bb2c27ee2502bf31e3d084de0640e8ae (diff)
downloadappstream-glib-17fb0e8a65ad03083a29a491b05a01d09da9895b.tar.gz
build: Make gperf dependency fully required
Commit 081ced436 made the gperf dependency mandatory, but that seems to have been partially lost in the migration to Meson. If building without gperf available, Meson configure would succeed, but then build would fail due to as-tag-private.h not being generated. Fix that by removing the conditions for gperf in the meson.build files. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index c88bbdc..4d468c2 100644
--- a/meson.build
+++ b/meson.build
@@ -98,10 +98,7 @@ if get_option('enable-stemmer')
endif
# use gperf for faster string -> enum matching
-gperf = find_program('gperf', required : false)
-if gperf.found()
- conf.set('HAVE_GPERF', 1)
-endif
+gperf = find_program('gperf', required : true)
gnome = import('gnome')
i18n = import('i18n')