Commit 029453bb authored by Jens Georg's avatar Jens Georg

Only use version.h where we use the git macro

parent 668bc241
......@@ -21,7 +21,7 @@ shotwell_plugin_dir = join_paths(get_option('libdir'), 'shotwell', 'plugins', 'b
add_global_arguments(['-DHAVE_CONFIG_H=1'],
['-include'], ['config.h'],
['-include'], ['version.h'], language : 'c')
language : 'c')
add_global_arguments(['--target-glib=2.40',
'--vapidir=@0@'.format(join_paths(meson.current_source_dir(),
'vapi')),
......
......@@ -10,7 +10,6 @@ extern const string _VERSION;
extern const string GETTEXT_PACKAGE;
extern const string _LIB;
extern const string _LIBEXECDIR;
extern const string? _GIT_VERSION;
namespace Resources {
public const string APP_TITLE = "Shotwell";
......
......@@ -246,6 +246,7 @@ executable('shotwell',
'--pkg', 'libraw',
'--pkg', 'libexif',
'--pkg', 'misc',
'--pkg', 'version',
'--gresources',
join_paths(meson.source_root(), 'data',
'org.gnome.Shotwell.gresource.xml')
......
[CCode (cheader_filename="version.h")]
extern const string? _GIT_VERSION;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment