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:
@@ -53,9 +53,13 @@ mgr_deps = [
|
||||
dependency('gudev-1.0'),
|
||||
dependency('libgpiod'),
|
||||
dependency('libusb-1.0'),
|
||||
dependency('mm-glib'),
|
||||
]
|
||||
|
||||
mmglib_dep = dependency('mm-glib', required : false)
|
||||
if mmglib_dep.found()
|
||||
add_global_arguments('-DHAVE_MMGLIB=1', language : 'c')
|
||||
endif
|
||||
|
||||
subdir('data')
|
||||
subdir('src')
|
||||
subdir('udev')
|
||||
|
Reference in New Issue
Block a user