summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-06-08 15:33:25 +0200
committerNaushir Patuck <naush@raspberrypi.com>2023-06-19 11:31:36 +0100
commit1f607da926e182cd63db9d1f748aa0af34592c98 (patch)
treee5565c7b801e0b5e3c64550c0a2cc53c1d46ab36
parent0d1e402e1b6d0fce1e0003bf3deebb21594d5906 (diff)
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 <naush@raspberrypi.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/libcamera/meson.build4
1 files changed, 3 insertions, 1 deletions
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,