From 4256d99c3d63a893c4396a5db38644bb706a6814 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 6 Jul 2018 14:03:57 +0100 Subject: [PATCH] meson: Add libpcre dependency version, as in configure.ac Prompted by https://gitlab.gnome.org/GNOME/glib/merge_requests/148. Signed-off-by: Philip Withnall --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6b7489c4e..2be847aa4 100644 --- a/meson.build +++ b/meson.build @@ -1632,7 +1632,7 @@ if get_option('internal_pcre') pcre = [] use_system_pcre = false else - pcre = dependency('libpcre', required : false) # Should check for Unicode support, too. FIXME + pcre = dependency('libpcre', version: '>= 8.31', required : false) # Should check for Unicode support, too. FIXME if not pcre.found() if cc.get_id() == 'msvc' # MSVC: Search for the PCRE library by the configuration, which corresponds