summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2022-09-04 18:40:27 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-09-05 17:55:45 +0300
commitcec5704d34a83dcec04a75e672f8ed222c9bd266 (patch)
tree0d4f3a14e32e4fbe3d642d7b88291651489f5921
parent5771125bfa4ae6c51a214d42933c393352395a89 (diff)
libcamera: Override "libcamera" dependency in meson
Overriding the dependency enables libcamera to be used as a meson subproject more easily. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/libcamera/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index ce1f0f2f..63b47b17 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -189,4 +189,6 @@ pkg_mod.generate(libcamera,
description : 'Complex Camera Support Library',
subdirs : 'libcamera')
+meson.override_dependency('libcamera', libcamera_public)
+
subdir('proxy/worker')