mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
build: set HAVE_LIBSIGNAL_LT_2_3_2 in meson
See https://github.com/profanity-im/profanity/pull/1619#discussion_r760472475
This commit is contained in:
parent
28476e578b
commit
41544e2467
@ -59,9 +59,11 @@ pgp_dep = dependency('gpgme', required : get_option('pgp'))
|
||||
if pgp_dep.found()
|
||||
conf.set_quoted('HAVE_LIBGPGME', '1')
|
||||
endif
|
||||
# TODO: HAVE_LIBSIGNAL_LT_2_3_2
|
||||
omemo_libsignal_dep = dependency('libsignal-protocol-c', version: '>= 2.3.2', required : get_option('omemo'))
|
||||
omemo_gcrypt_dep = dependency('libsignal-protocol-c', version: '>= 1.7.0', required : get_option('omemo'))
|
||||
if omemo_libsignal_dep.version().version_compare('< 2.3.2')
|
||||
conf.set_quoted('HAVE_LIBSIGNAL_LT_2_3_2', '1')
|
||||
endif
|
||||
omemo_gcrypt_dep = dependency('gcrypt', version: '>= 1.7.0', required : get_option('omemo'))
|
||||
if omemo_libsignal_dep.found() and omemo_gcrypt_dep.found()
|
||||
conf.set_quoted('HAVE_OMEMO', '1')
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user