mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
Fix compatibility with older cmark
This commit is contained in:
parent
f5281cbe11
commit
6666acc734
1 changed files with 12 additions and 6 deletions
|
@ -26,11 +26,17 @@ deps = [
|
|||
dependency('mtxclient', static: true, version : '>=0.6.0', fallback: ['mtxclient', 'matrix_client_dep']),
|
||||
dependency('blurhash'),
|
||||
dependency('spdlog'),
|
||||
dependency('cmark'),
|
||||
dependency('lmdb'),
|
||||
dependency('threads'),
|
||||
]
|
||||
|
||||
# Older cmark versions only provide the libcmark pkgconfig name, but meson only supports multiple names since 0.60.0
|
||||
if meson.version().version_compare('>=0.60.0')
|
||||
deps += dependency('cmark', 'libcmark', version: '>=0.29.0')
|
||||
else
|
||||
deps += dependency('cmark', version: '>=0.29.0')
|
||||
endif
|
||||
|
||||
single_app_dep = subproject('SingleApplication-3.3.0').get_variable('singleapplication_dep')
|
||||
|
||||
deps += [single_app_dep]
|
||||
|
|
Loading…
Reference in a new issue