summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-07 20:45:52 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-08 19:34:03 +0200
commitf41627121287cec4b2f5a590386d97903e0dd381 (patch)
treeb4b56c9e8c70f5c3150bb1de684757484435d691
parent61aa357a95dcb52537fba85fab58038ae9d6a97a (diff)
cam: Link against libatomic if needed
The cam application makes use if std::atomic<>, link against libatomic if needed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
-rw-r--r--src/cam/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cam/meson.build b/src/cam/meson.build
index 478346c5..2419d648 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)