manager: honor --version option

Fixes #22
This commit is contained in:
Arnaud Ferraris
2021-10-05 23:08:33 +02:00
parent 68349c9f58
commit f68af6405d
2 changed files with 12 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ eg25_datadir = join_paths(full_datadir, meson.project_name())
add_global_arguments('-D@0@="@1@"'.format('EG25_CONFDIR', eg25_confdir), language : 'c')
add_global_arguments('-D@0@="@1@"'.format('EG25_DATADIR', eg25_datadir), language : 'c')
add_global_arguments('-D@0@="@1@"'.format('EG25_VERSION', meson.project_version()), language : 'c')
mmglib_dep = dependency('mm-glib', required : false)
if mmglib_dep.found()