From 1f607da926e182cd63db9d1f748aa0af34592c98 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 8 Jun 2023 15:33:25 +0200 Subject: libcamera: meson: Allow PH to change libcamera_deps Pipeline handlers can have custom dependencies. Allow each pipeline handler subdir to add them to libcamera_deps[]. Signed-off-by: Naushir Patuck Signed-off-by: Jacopo Mondi Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/libcamera/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index d4385041..3cd42477 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -58,6 +58,8 @@ includes = [ libcamera_includes, ] +libcamera_deps = [] + libatomic = cc.find_library('atomic', required : false) libthreads = dependency('threads') @@ -154,7 +156,7 @@ if ipa_sign_module libcamera_sources += ipa_pub_key_cpp endif -libcamera_deps = [ +libcamera_deps += [ libatomic, libcamera_base, libcamera_base_private, -- cgit v1.2.1