From ec46a85c4f92e25e7994881679d6a1531a59b58e Mon Sep 17 00:00:00 2001 From: pal1000 Date: Mon, 1 Aug 2022 19:14:19 +0300 Subject: [PATCH] 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 Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 829d7908c2d..1d281dadbc9 100644 --- a/meson.build +++ b/meson.build @@ -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