summaryrefslogtreecommitdiff
path: root/src/apps/meson.build
blob: 62cff67e0cf87939ba5851f64b10bb82bf646a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-License-Identifier: CC0-1.0

opt_cam = get_option('cam')
opt_lc_compliance = get_option('lc-compliance')

# libevent is needed by cam and lc-compliance. As they are both feature options,
# they can't be combined with simple boolean logic.
libevent = dependency('libevent_pthreads', required : opt_cam)
if not libevent.found()
    libevent = dependency('libevent_pthreads', required : opt_lc_compliance)
endif

subdir('lc-compliance')

subdir('cam')
subdir('qcam')