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
18
meson.build
18
meson.build
|
@ -23,14 +23,20 @@ inc = include_directories('src', 'includes', 'third_party/cpp-httplib-0.5.12')
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
qt5_dep,
|
qt5_dep,
|
||||||
dependency('mtxclient', static: true, version : '>=0.6.0', fallback: ['mtxclient', 'matrix_client_dep']),
|
dependency('mtxclient', static: true, version : '>=0.6.0', fallback: ['mtxclient', 'matrix_client_dep']),
|
||||||
dependency('blurhash'),
|
dependency('blurhash'),
|
||||||
dependency('spdlog'),
|
dependency('spdlog'),
|
||||||
dependency('cmark'),
|
dependency('lmdb'),
|
||||||
dependency('lmdb'),
|
dependency('threads'),
|
||||||
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')
|
single_app_dep = subproject('SingleApplication-3.3.0').get_variable('singleapplication_dep')
|
||||||
|
|
||||||
deps += [single_app_dep]
|
deps += [single_app_dep]
|
||||||
|
|
Loading…
Reference in a new issue