Allow to build without mmglib

This commit is contained in:
Adam Pigg
2021-03-31 20:13:27 +01:00
parent ea19b0271c
commit 40136c2a52
6 changed files with 38 additions and 8 deletions

View File

@@ -7,18 +7,23 @@
subdir('libgdbofono')
executable (
'eg25manager',
[
src = [
'at.c', 'at.h',
'gpio.c', 'gpio.h',
'manager.c', 'manager.h',
'mm-iface.c', 'mm-iface.h',
'ofono-iface.c', 'ofono-iface.h',
'suspend.c', 'suspend.h',
'toml.c', 'toml.h',
'udev.c', 'udev.h',
],
]
if mmglib_dep.found()
src += ['mm-iface.c', 'mm-iface.h']
endif
executable (
'eg25manager',
src,
dependencies : mgr_deps,
link_with: gdbofono_lib,
install : true