diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-05-31 12:05:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-05-31 12:05:32 +0200 |
commit | a03d7d2e5151332bbe89e5bc36965956cfa7af35 (patch) | |
tree | 1667c3a269ad810db3a7a4a592a5721955dbdf01 /meson.build | |
parent | 2db2a00a812ec31ee59c3920ff457290e1f4a05e (diff) | |
parent | a99b581716d7972a62ed6c227a807e304a98d6af (diff) |
Merge branch 'release/debian/0.30.10-1'debian/0.30.10-1
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 04cf0a5..073afce 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('shotwell', ['vala', 'c'], - version : '0.30.8', + version : '0.30.10', meson_version : '>= 0.43.0', default_options : ['buildtype=debugoptimized']) @@ -25,10 +25,18 @@ add_global_arguments(['--target-glib=2.40', '--vapidir=@0@'.format(join_paths(meson.current_source_dir(), 'vapi')), '--enable-checking', - '--fatal-warnings', '--enable-experimental', '--enable-deprecated'], language : 'vala') +if get_option('fatal_warnings') + add_global_arguments( + [ + '--fatal-warnings' + ], + language : 'vala' + ) +endif + gitver = run_command(find_program('git-hash')) if gitver.returncode() == 0 add_global_arguments(['-D_GIT_VERSION="@0@"'.format(gitver.stdout().strip())], |