From 2f2161c5c364448f17c557337630d01f126595ea Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 16 Jun 2022 17:02:48 +0200 Subject: [PATCH] FIXME: remove dependency mongodb. FIXME: use get_option() to dynamic depend on mongodb --- lib/dbi/meson.build | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/dbi/meson.build b/lib/dbi/meson.build index a94613846..9433a070b 100644 --- a/lib/dbi/meson.build +++ b/lib/dbi/meson.build @@ -25,9 +25,6 @@ libdbi_sources = files(''' session.c ims.c '''.split()) - -libmongoc_dep = dependency('libmongoc-1.0') - libdbi_inc = include_directories('.') libdbi = library('ogsdbi', @@ -35,10 +32,10 @@ libdbi = library('ogsdbi', version : libogslib_version, c_args : '-DOGS_DBI_COMPILATION', include_directories : [libdbi_inc, libinc], - dependencies : [libproto_dep, libmongoc_dep], + dependencies : [libproto_dep], install : true) libdbi_dep = declare_dependency( link_with : libdbi, include_directories : [libdbi_inc, libinc], - dependencies : [libproto_dep, libmongoc_dep]) + dependencies : [libproto_dep])