summaryrefslogtreecommitdiff
path: root/src/cam
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam')
-rw-r--r--src/cam/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cam/meson.build b/src/cam/meson.build
index f0c08589..65784bed 100644
--- a/src/cam/meson.build
+++ b/src/cam/meson.build
@@ -1,9 +1,8 @@
# SPDX-License-Identifier: CC0-1.0
-libevent = dependency('libevent_pthreads', required : false)
+libevent = dependency('libevent_pthreads', required : get_option('cam'))
if not libevent.found()
- warning('libevent_pthreads not found, \'cam\' application will not be compiled')
subdir_done()
endif