diff options
author | Thomas White <taw@physics.org> | 2019-05-13 23:26:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-05-16 15:15:49 +0200 |
commit | d5c8d52bc2d1e76fd7a5c3f425fab271193c6d54 (patch) | |
tree | aed19bb7bbafa05200338cb2b1d8c7d299ecb0e1 /meson.build | |
parent | 52fc12ea011a07b61d02429c1bc6f2d17f5c5733 (diff) |
Add check for GPGME
This works from Meson 0.51.0 only. Otherwise, it will fail gracefully.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 743599eb..c25ca294 100644 --- a/meson.build +++ b/meson.build @@ -23,6 +23,7 @@ gtkspell = dependency('gtkspell-2.0', required : false) aspell = dependency('aspell', required : false) enchant = dependency('enchant', required : false) oniguruma = dependency('oniguruma', required : false) +gpgme = dependency('gpgme', version: '>= 1.0', required : false) # Needs Meson 0.51.0 # Compface check is further down # Suppress some compiler warnings (for now) @@ -418,5 +419,5 @@ executable('sylpheed', 'src/vcard.c', version_h], dependencies : [gtk, glib, gobject, gmodule, libsylph_dep, openssl, - gtkspell, aspell, enchant, oniguruma, compface], + gtkspell, aspell, enchant, oniguruma, compface, gpgme], install : true) |