Commit 570ac5a3 authored by Niklas Söderlund's avatar Niklas Söderlund Committed by Nícolas F. R. A. Prado
Browse files

meson: Move libevent dependency lookup

The libevent library will be needed by both cam and the soon to be added
lc-compliacne tool. Move the dependency lookup to a shared meson file to
avoid having to look it up twice.
Suggested-by: default avatarLaurent Pinchart <>
Signed-off-by: default avatarNiklas Söderlund <>
parent 62a826d6
# SPDX-License-Identifier: CC0-1.0
libevent = dependency('libevent_pthreads', required : get_option('cam'))
if not libevent.found()
cam_enabled = false
......@@ -12,6 +12,7 @@ else
libcamera_cpp_args = []
libevent = dependency('libevent_pthreads', required : false)
libcamera_objects = []
# The 'android' subdir must be processed first, and the build targets
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment