[epiphany/pgriffis/glib-versions] build: Set GLIB_VERSION_MAX_ALLOWED
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/pgriffis/glib-versions] build: Set GLIB_VERSION_MAX_ALLOWED
- Date: Sat, 9 Jul 2022 16:39:16 +0000 (UTC)
commit de49195feb163d2563044337e391c717349706e8
Author: Patrick Griffis <pgriffis igalia com>
Date: Sat Jul 9 11:38:39 2022 -0500
build: Set GLIB_VERSION_MAX_ALLOWED
This warns when we use too new of API which is helpful.
meson.build | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index d169747d2..9d0d40364 100644
--- a/meson.build
+++ b/meson.build
@@ -78,6 +78,9 @@ gtk_requirement = '>= 3.24.0'
nettle_requirement = '>= 3.4'
webkitgtk_requirement = '>= 2.33.2'
+conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_68')
+conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_68')
+
cairo_dep = dependency('cairo', version: '>= 1.2')
gcr_dep = dependency('gcr-3', version: '>= 3.5.5')
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', version: '>= 2.36.5')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]