From 6b414014de24dd9671e491c765c7c5535cd05d40 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 8 Feb 2018 10:41:01 +0100 Subject: Raise minimum GLib version to 2.38 --- src/meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/meson.build') diff --git a/src/meson.build b/src/meson.build index b3bc649..5bd5509 100644 --- a/src/meson.build +++ b/src/meson.build @@ -13,6 +13,8 @@ plugindir = '@0@/@1@/uca'.format(get_option('prefix'), get_option('libdir')) conf = configuration_data() conf.set_quoted('UCA_PLUGINDIR', plugindir) +conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_38') +conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_38') configure_file( input: 'config.h.meson.in', @@ -36,9 +38,6 @@ sources += [enums_c, enums_h] lib = library('uca', sources: sources, dependencies: [glib_dep, gobject_dep, gmodule_dep, gio_dep], - c_args: [ - '-Wno-deprecated-declarations', - ], version: version, soversion: version_major, install: true, -- cgit v1.2.3