mirror of https://github.com/kiwix/libkiwix.git
meson: Use 'libzim' name as a dependency
With <https://gerrit.wikimedia.org/r/#/c/329759/>, the library is now registered with pkg-config as "libzim".
This commit is contained in:
parent
4895af59e8
commit
baf4c9050f
|
@ -6,7 +6,7 @@ compiler = meson.get_compiler('cpp')
|
|||
|
||||
thread_dep = dependency('threads')
|
||||
libicu_dep = dependency('icu-i18n')
|
||||
libzim_dep = dependency('zimlib')
|
||||
libzim_dep = dependency('libzim')
|
||||
pugixml_dep = dependency('pugixml')
|
||||
aria2_dep = find_program('aria2c')
|
||||
|
||||
|
@ -35,7 +35,7 @@ else
|
|||
ctpp2_dep = declare_dependency(include_directories:ctpp2_include_path, dependencies:[ctpp2_lib])
|
||||
endif
|
||||
|
||||
pkg_requires = ['zimlib', 'icu-i18n', 'pugixml']
|
||||
pkg_requires = ['libzim', 'icu-i18n', 'pugixml']
|
||||
xapian_dep = dependency('xapian-core', required:false)
|
||||
if xapian_dep.found()
|
||||
pkg_requires += ['xapian-core']
|
||||
|
|
Loading…
Reference in New Issue