[dia] Enforce supported lib versions
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Enforce supported lib versions
- Date: Tue, 14 May 2019 17:01:40 +0000 (UTC)
commit 2dbbb055c4aa190148b23dacec976259a1ddcccc
Author: Zander Brown <zbrown gnome org>
Date: Tue May 14 17:57:00 2019 +0100
Enforce supported lib versions
Except all those places where we override that...
meson.build | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/meson.build b/meson.build
index 0353491d..601a812c 100644
--- a/meson.build
+++ b/meson.build
@@ -68,6 +68,15 @@ configuration_inc = include_directories('.')
config_h_in = configure_file(output: 'config.h.in', configuration: conf)
config_h = vcs_tag(input: config_h_in, output: 'config.h')
+gtk_ver = 'GDK_VERSION_2_24'
+glib_ver = 'GLIB_VERSION_2_50'
+add_project_arguments([
+ '-DGDK_VERSION_MIN_REQUIRED=@0@'.format(gtk_ver),
+ '-DGDK_VERSION_MAX_ALLOWED=@0@'.format(gtk_ver),
+ '-DGLIB_VERSION_MIN_REQUIRED=@0@'.format(glib_ver),
+ '-DGLIB_VERSION_MAX_ALLOWED=@0@'.format(glib_ver),
+], language: 'c')
+
subdir('po')
subdir('lib')
subdir('objects')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]