diff options
author | fiaxh <git@lightrise.org> | 2024-06-20 13:47:25 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2024-06-20 14:03:14 +0200 |
commit | 680f0dd0a768b201b62899905c38210e834dde91 (patch) | |
tree | 37366eeec656568e0cfe08665be19c1d2618ff5b /plugins/omemo/meson.build | |
parent | 21ae42762d8a57da5cb1ec40b46e7510fc3121ad (diff) | |
download | dino-680f0dd0a768b201b62899905c38210e834dde91.tar.gz dino-680f0dd0a768b201b62899905c38210e834dde91.zip |
Fix meson build files
Diffstat (limited to 'plugins/omemo/meson.build')
-rw-r--r-- | plugins/omemo/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/omemo/meson.build b/plugins/omemo/meson.build index 05d7c265..315f69f4 100644 --- a/plugins/omemo/meson.build +++ b/plugins/omemo/meson.build @@ -65,5 +65,8 @@ c_args = [ vala_args = [ '--vapidir', meson.current_source_dir() / 'vapi', ] +if dep_libadwaita.version() == 'unknown' or dep_libadwaita.version().version_compare('>=1.2') + vala_args += ['-D', 'Adw_1_2'] +endif lib_omemo = shared_library('omemo', sources, name_prefix: '', c_args: c_args, vala_args: vala_args, include_directories: include_directories('src'), dependencies: dependencies, install: true, install_dir: get_option('libdir') / 'dino/plugins') dep_omemo = declare_dependency(link_with: lib_omemo, include_directories: include_directories('.')) |