summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-25 20:17:36 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-25 20:17:36 +0200
commit78aeec6a66a80c1494e4f5dec30e9a2f71caef41 (patch)
treeb33dde0d7d164dabdd09bc86eb655bcb8672abbd /meson.build
parent32662cb4e6c60da265aba1e4cc6a5e05e5c7c2d1 (diff)
parentc3b87b404d803e2eaa6bf179b2bb370c874ffa75 (diff)
Update upstream source from tag 'upstream/0.30.10'
Update to upstream version '0.30.10' with Debian dir 328b0e5e3a6b12caed3ce0ee45f20efdf8a7b353
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build12
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())],