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>
This commit is contained in:
Naushir Patuck 2023-06-08 15:33:25 +02:00
parent 0d1e402e1b
commit 1f607da926

View file

@ -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,