From cd5439fb97518d8bce0eb2af3f9562d6fd593acf Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 20 Oct 2022 01:11:57 +0300 Subject: apps: Move libevent dependency to src/apps/meson.build libevent is a shared dependency between cam and lc-compliance, move it to src/apps/. The shared dependency will be used to condition compilation of source files in an upcoming application static library. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder Reviewed-by: Kieran Bingham --- src/apps/cam/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/apps/cam') diff --git a/src/apps/cam/meson.build b/src/apps/cam/meson.build index 06dbea06..4b6099dd 100644 --- a/src/apps/cam/meson.build +++ b/src/apps/cam/meson.build @@ -1,8 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 -libevent = dependency('libevent_pthreads', required : get_option('cam')) - -if not libevent.found() +if opt_cam.disabled() or not libevent.found() cam_enabled = false subdir_done() endif -- cgit v1.2.1