[libcamera-devel] [PATCH 02/12] libcamera: add dependency on libudev
Niklas Söderlund
niklas.soderlund at ragnatech.se
Sun Dec 23 00:00:31 CET 2018
The device enumeration will depend on libudev, add the dependency to the
build system. This should be turned into a optional dependency once a
device enumerator not using udev is supported.
Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
---
src/libcamera/meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 46591069aa5f8beb..52b556a8ed4050cb 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -16,7 +16,10 @@ includes = [
libcamera_internal_includes,
]
+libudev = dependency('libudev')
+
libcamera = shared_library('camera',
libcamera_sources,
install : true,
- include_directories : includes)
+ include_directories : includes,
+ dependencies : libudev)
--
2.20.1
More information about the libcamera-devel
mailing list