diff --git a/tests/meson.build b/tests/meson.build index 0193308d..90d776f5 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -73,13 +73,13 @@ exe_plugin_test = shared_library( ) deps_zuc = [ dep_libshared ] +config_h.set10('ENABLE_JUNIT_XML', get_option('test-junit-xml')) if get_option('test-junit-xml') d = dependency('libxml-2.0', version: '>= 2.6', required: false) if not d.found() error('JUnit XML support requires libxml-2.0 >= 2.6 which was not found. Or, you can use \'-Dtest-junit-xml=false\'.') endif deps_zuc += d - config_h.set('ENABLE_JUNIT_XML', '1') endif lib_zuc = static_library(