forked from acouzens/open5gs
FIXME: remove dependency mongodb. FIXME: use get_option() to dynamic depend on mongodb
This commit is contained in:
parent
bbcfcf7090
commit
eaf61712e6
|
@ -28,9 +28,6 @@ libdbi_sources = files('''
|
||||||
path.c
|
path.c
|
||||||
timer.c
|
timer.c
|
||||||
'''.split())
|
'''.split())
|
||||||
|
|
||||||
libmongoc_dep = dependency('libmongoc-1.0')
|
|
||||||
|
|
||||||
libdbi_inc = include_directories('.')
|
libdbi_inc = include_directories('.')
|
||||||
|
|
||||||
libdbi = library('ogsdbi',
|
libdbi = library('ogsdbi',
|
||||||
|
@ -38,10 +35,10 @@ libdbi = library('ogsdbi',
|
||||||
version : libogslib_version,
|
version : libogslib_version,
|
||||||
c_args : '-DOGS_DBI_COMPILATION',
|
c_args : '-DOGS_DBI_COMPILATION',
|
||||||
include_directories : [libdbi_inc, libinc],
|
include_directories : [libdbi_inc, libinc],
|
||||||
dependencies : [libcrypt_dep, libapp_dep, libmongoc_dep],
|
dependencies : [libcrypt_dep, libapp_dep],
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
libdbi_dep = declare_dependency(
|
libdbi_dep = declare_dependency(
|
||||||
link_with : libdbi,
|
link_with : libdbi,
|
||||||
include_directories : [libdbi_inc, libinc],
|
include_directories : [libdbi_inc, libinc],
|
||||||
dependencies : [libcrypt_dep, libapp_dep, libmongoc_dep])
|
dependencies : [libcrypt_dep, libapp_dep])
|
||||||
|
|
Loading…
Reference in New Issue