diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 2f8fb3f2..2c2c733e 100644 --- a/meson.build +++ b/meson.build @@ -47,8 +47,14 @@ config_h.set('G_DISABLE_SINGLE_INCLUDES', true) config_h.set('GTK_DISABLE_DEPRECATED', true) config_h.set('GTK_DISABLE_SINGLE_INCLUDES', true) config_h.set('GDK_PIXBUF_DISABLE_SINGLE_INCLUDES', true) -config_h.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_36') -config_h.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_36') +# FIXME do this per-project somehow +if get_option('web-frontend') + config_h.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_66') + config_h.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_36') +else + config_h.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_36') + config_h.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_36') +endif # Detected features config_h.set('HAVE_MEMRCHR', cc.has_function('memrchr')) |