From 3e63d416992312d2deb7ab4be83d3e34eb1f3743 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 a48f47785..3d65e193c 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 : [libcrypt_dep, libmongoc_dep], + dependencies : [libcrypt_dep], install : true) libdbi_dep = declare_dependency( link_with : libdbi, include_directories : [libdbi_inc, libinc], - dependencies : [libcrypt_dep, libmongoc_dep]) + dependencies : [libcrypt_dep])