mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 15:22:20 +02:00
Allow to build without mmglib
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user