[rhythmbox/wip/hadess/cleanups: 7/37] build: Set the min/max versions of GLib allowed
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/cleanups: 7/37] build: Set the min/max versions of GLib allowed
- Date: Wed, 17 Nov 2021 08:35:26 +0000 (UTC)
commit 24630ac1a3759cc56c69a747370729f6d38ea1fa
Author: Bastien Nocera <hadess hadess net>
Date: Mon Oct 18 16:05:00 2021 +0200
build: Set the min/max versions of GLib allowed
As was done in autotools.
config.h.meson | 4 ++++
meson.build | 3 +++
2 files changed, 7 insertions(+)
---
diff --git a/config.h.meson b/config.h.meson
index 8c3c57f16..9dcbf3905 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -1,6 +1,10 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Manually converted for use by Meson. */
+/* GLib version requirements */
+#mesondefine GLIB_VERSION_MIN_REQUIRED
+#mesondefine GLIB_VERSION_MAX_ALLOWED
+
/* Define if building universal (internal helper macro) */
#mesondefine AC_APPLE_UNIVERSAL_BUILD
diff --git a/meson.build b/meson.build
index d83b22c02..43c2be673 100644
--- a/meson.build
+++ b/meson.build
@@ -30,6 +30,9 @@ add_project_arguments(common_cflags, language: 'c')
libmath = cc.find_library('m')
glib_required = '2.38.0'
+cdata.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_38')
+cdata.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_38')
+
gstreamer_required = '1.4.0'
cairo = dependency('cairo', required: true)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]