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/6468>
This commit is contained in:
parent
4888a25bac
commit
d0cfada15e
@ -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…
x
Reference in New Issue
Block a user