mu: rework xapian dependencies a bit

Reduce the places where we need to include Xapian, and add a few places where
the (meson build) didn't explicitly have a Xapian dep where needed.
This commit is contained in:
Dirk-Jan C. Binnema
2021-11-03 12:30:37 +02:00
parent 1c95d28cde
commit 8028f88a51
9 changed files with 76 additions and 41 deletions

View File

@ -80,11 +80,12 @@ lib_mu=static_library(
],
install: false)
# some of the libme headers include xapian
xapian_incs = xapian_dep.get_pkgconfig_variable('includedir')
lib_mu_dep = declare_dependency(
link_with: lib_mu,
include_directories: include_directories(['.', '..'])
)
include_directories:
include_directories(['.', '..', xapian_incs]))
#
# tests