[PATCH] libcamera: override "libcamera" dependency in meson
Barnabás Pőcze
pobrn at protonmail.com
Sun Sep 4 20:40:27 CEST 2022
Overriding the dependency enables libcamera to be used
as a meson subprojet more easily.
Signed-off-by: Barnabás Pőcze <pobrn at protonmail.com>
---
src/libcamera/meson.build | 2 ++
1 file changed, 2 insertions(+)
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')
--
2.37.3
More information about the libcamera-devel
mailing list