summaryrefslogtreecommitdiff
path: root/src/lc-compliance/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/lc-compliance/meson.build')
-rw-r--r--src/lc-compliance/meson.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lc-compliance/meson.build b/src/lc-compliance/meson.build
index 3e7bdb03..aa5852f6 100644
--- a/src/lc-compliance/meson.build
+++ b/src/lc-compliance/meson.build
@@ -1,8 +1,9 @@
# SPDX-License-Identifier: CC0-1.0
libevent = dependency('libevent_pthreads', required : get_option('lc-compliance'))
+libgtest = dependency('gtest', required : get_option('lc-compliance'))
-if not libevent.found()
+if not (libevent.found() and libgtest.found())
lc_compliance_enabled = false
subdir_done()
endif
@@ -14,15 +15,16 @@ lc_compliance_sources = files([
'../cam/options.cpp',
'environment.cpp',
'main.cpp',
- 'results.cpp',
'simple_capture.cpp',
- 'single_stream.cpp',
+ 'capture_test.cpp',
])
lc_compliance = executable('lc-compliance', lc_compliance_sources,
+ cpp_args : [ '-fexceptions' ],
dependencies : [
libatomic,
libcamera_public,
libevent,
+ libgtest,
],
install : true)