d3d12/dzn/spirv2dxil: Require version library

Fixes: b8328c9 ("microsoft/compiler: Blacklist DXIL validator 1.6 from 20348 SDK")

Closes: #6952

Closes: #6959

v2: Always lookup version library on Windows

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17837>
This commit is contained in:
pal1000
2022-08-01 19:14:19 +03:00
committed by Marge Bot
parent 42a52a8be1
commit ec46a85c4f

View File

@@ -1884,7 +1884,7 @@ endif
# Be explicit about only using this lib on Windows, to avoid picking
# up random libs with the generic name 'libversion'
dep_version = null_dep
if with_opencl_spirv and host_machine.system() == 'windows'
if host_machine.system() == 'windows'
dep_version = cpp.find_library('version')
endif