mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
d3d11: Ignore undef issues with external headers
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
67b5414c24
commit
b4b140440f
2 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,8 @@ extra_comm_args = [
|
||||||
'-DBUILDING_GST_D3D11',
|
'-DBUILDING_GST_D3D11',
|
||||||
'-DG_LOG_DOMAIN="GStreamer-D3D11"',
|
'-DG_LOG_DOMAIN="GStreamer-D3D11"',
|
||||||
]
|
]
|
||||||
|
# Definition issues in external headers
|
||||||
|
extra_comm_args += cc.get_supported_arguments(['-Wno-undef'])
|
||||||
|
|
||||||
have_d3d11sdk_h = false
|
have_d3d11sdk_h = false
|
||||||
have_dxgidebug_h = false
|
have_dxgidebug_h = false
|
||||||
|
|
|
@ -128,6 +128,9 @@ if cc.get_id() != 'msvc'
|
||||||
extra_args += extra_mingw_args
|
extra_args += extra_mingw_args
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Definition issues
|
||||||
|
extra_args += cc.get_supported_arguments(['-Wno-undef'])
|
||||||
|
|
||||||
gstd3d11 = library('gstd3d11',
|
gstd3d11 = library('gstd3d11',
|
||||||
d3d11_sources,
|
d3d11_sources,
|
||||||
c_args : gst_plugins_bad_args + extra_c_args + extra_args,
|
c_args : gst_plugins_bad_args + extra_c_args + extra_args,
|
||||||
|
|
Loading…
Reference in a new issue