Skip to content
Snippets Groups Projects
Commit ab4eff6d authored by Alaric Senat's avatar Alaric Senat
Browse files

meson: tests: Require RapidJSON for functional tests

Otherwise the compilation fails because of the missing header files.
This makes the functional tests optional and dependant of the
dependency.
parent d1fc7df7
Loading
Pipeline #515686 passed with stages
in 9 minutes and 40 seconds
......@@ -5,7 +5,13 @@ if get_option('fuzz')
else
subdir('unittest')
subdir('samples')
rapidjson_dep = dependency('RapidJSON', required: false)
if rapidjson_dep.found()
subdir('samples')
else
warning('RapidJSON not found, disabling functional tests.')
endif
subdir('discoverer')
subdir('sqlite_load')
subdir('fast_teardown')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment