[gnome-builder] meson-templates: add PACKAGE_VERSION to config.h



commit f5e4a7ca096461263a93d6b192aa903dbfc10525
Author: Christian Hergert <chergert redhat com>
Date:   Thu Sep 20 15:35:24 2018 -0700

    meson-templates: add PACKAGE_VERSION to config.h

 src/plugins/meson-templates/resources/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/meson-templates/resources/meson.build 
b/src/plugins/meson-templates/resources/meson.build
index b4b51dd2e..275cde5df 100644
--- a/src/plugins/meson-templates/resources/meson.build
+++ b/src/plugins/meson-templates/resources/meson.build
@@ -9,6 +9,7 @@ i18n = import('i18n')
 
 {{if language == "c"}}
 config_h = configuration_data()
+config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
 {{if enable_i18n}}
 config_h.set_quoted('GETTEXT_PACKAGE', '{{name}}')
 config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]