mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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 <withnall@endlessm.com>
This commit is contained in:
parent
ddf03f64a4
commit
4256d99c3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user