diff --git a/subprojects/gst-plugins-bad/sys/aja/meson.build b/subprojects/gst-plugins-bad/sys/aja/meson.build index 0f79a7cca3..e2f4dce81b 100644 --- a/subprojects/gst-plugins-bad/sys/aja/meson.build +++ b/subprojects/gst-plugins-bad/sys/aja/meson.build @@ -15,8 +15,11 @@ rt_dep = cxx.find_library('rt', required : false) aja_sdk_dir = get_option('aja-sdk-dir') if aja_sdk_dir == '' - ajantv2_dep = dependency('libajantv2', include_type: 'system', - required: aja_option, allow_fallback: true) + ajantv2_dep = dependency('libajantv2', + include_type: 'system', + required: aja_option, + allow_fallback: true, + default_options: ['warning_level=0']) if not ajantv2_dep.found() subdir_done() endif diff --git a/subprojects/packagefiles/ntv2/meson.build b/subprojects/packagefiles/ntv2/meson.build index 02db0a9b15..76804c7682 100644 --- a/subprojects/packagefiles/ntv2/meson.build +++ b/subprojects/packagefiles/ntv2/meson.build @@ -22,6 +22,13 @@ foreach cxxflag: test_cppflags endif endforeach +if get_option('warning_level') == '0' + add_project_arguments( + cxx.get_supported_arguments(['-Wno-deprecated-declarations']), + language: 'cpp', + ) +endif + thread_dep = dependency('threads') rt_dep = cxx.find_library('rt', required : false)