Module: Mesa
Branch: main
Commit: ec46a85c4f92e25e7994881679d6a1531a59b58e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec46a85c4f92e25e7994881679d6a1531a59b58e

Author: pal1000 <[email protected]>
Date:   Mon Aug  1 19:14:19 2022 +0300

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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17837>

---

 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
 

Reply via email to