diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-02-08 10:41:01 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-02-08 10:41:01 +0100 |
commit | 6b414014de24dd9671e491c765c7c5535cd05d40 (patch) | |
tree | 6653b3f2f89603678fa7fabbdcdbbd55c7427c39 /src/meson.build | |
parent | 2a383d2e9d13f5e652cb4e00ccb61558303d6f84 (diff) | |
download | uca-6b414014de24dd9671e491c765c7c5535cd05d40.tar.gz uca-6b414014de24dd9671e491c765c7c5535cd05d40.tar.bz2 uca-6b414014de24dd9671e491c765c7c5535cd05d40.tar.xz uca-6b414014de24dd9671e491c765c7c5535cd05d40.zip |
Raise minimum GLib version to 2.38
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
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, |