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
['-include'], ['config.h'],
['-include'], ['version.h'], language : 'c')
language : 'c')
......@@ -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',
join_paths(meson.source_root(), 'data',
[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