[libcamera-devel] [PATCH v4 5/6] cam: Link against libatomic if needed
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sun Mar 8 01:04:32 CET 2020
The cam application makes use if std::atomic<>, link against libatomic
if needed.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
Changes since v3:
- Use the libatomic dependency object
---
src/cam/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cam/meson.build b/src/cam/meson.build
index 478346c59590..2419d648bc17 100644
--- a/src/cam/meson.build
+++ b/src/cam/meson.build
@@ -7,5 +7,5 @@ cam_sources = files([
])
cam = executable('cam', cam_sources,
- dependencies : libcamera_dep,
+ dependencies : [ libatomic, libcamera_dep ],
install : true)
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list