mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
aja: suppress compiler warnings for aja ntv2 subproject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6087>
This commit is contained in:
parent
c5e241932c
commit
9fe9e60012
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue