mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02: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 = []
|
pcre = []
|
||||||
use_system_pcre = false
|
use_system_pcre = false
|
||||||
else
|
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 not pcre.found()
|
||||||
if cc.get_id() == 'msvc'
|
if cc.get_id() == 'msvc'
|
||||||
# MSVC: Search for the PCRE library by the configuration, which corresponds
|
# MSVC: Search for the PCRE library by the configuration, which corresponds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user