mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 23:16:38 +00:00
meson: d3d11: Disable library build if DirectXMath header was not found
DirectXMath header library is a hard dependency Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6472>
This commit is contained in:
parent
fa44d14d2b
commit
98ed7a8201
1 changed files with 4 additions and 1 deletions
|
@ -198,7 +198,10 @@ have_dx_math = cxx.compiles('''
|
||||||
if not have_dx_math
|
if not have_dx_math
|
||||||
directxmath_dep = dependency('directxmath',
|
directxmath_dep = dependency('directxmath',
|
||||||
allow_fallback: true,
|
allow_fallback: true,
|
||||||
required: get_option('d3d11-math'))
|
required: d3d11_opt)
|
||||||
|
if not directxmath_dep.found()
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
extra_deps += [directxmath_dep]
|
extra_deps += [directxmath_dep]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue