openni2: Ignore undef in external header

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
Edward Hervey 2025-01-10 17:24:40 +01:00 committed by GStreamer Marge Bot
parent ad79fbd744
commit 29217ca3f7

View file

@ -6,7 +6,7 @@ openni2_dep = dependency('libopenni2', version: '>= 0.26', required: get_option(
if openni2_dep.found()
gstopenni2 = library('gstopenni2',
'gstopenni2.cpp', 'gstopenni2src.cpp',
cpp_args: gst_plugins_bad_args,
cpp_args: gst_plugins_bad_args + cc.get_supported_arguments(['-Wno-undef']),
link_args: noseh_link_args,
include_directories: [configinc],
dependencies: [gstvideo_dep, openni2_dep],