summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2018-12-20 15:01:31 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2018-12-31 00:58:03 +0100
commit723a6356c80fbcd6603ec38dfa6b32cab248822d (patch)
tree784e8407c3ed8288a6fcee35286b5c28f39fcce8 /src
parent8c10082a9ea9a311711887386944b71cf4d0419a (diff)
libcamera: add dependency on libudev
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@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 46591069..52b556a8 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)