build: Fix building hb-gpu on Windows (#5986)

Correct the d3dcompiler dependency-it should be looking for
D3DCompiler.lib (or so), not D3DCompiler_47.lib, to link to
D3DCompiler_47.dll.
This commit is contained in:
fanc999-1 authored and GitHub committed 2026-05-22 04:18:45 -06:00
1 parent 22ea52f42f
commit f54cb4a3ae
1 file changed
+1 -1
+1 -1
View File
@@ -64,6 +64,6 @@ if not gpu_demo_opt.disabled()
metal_dep = disabler()
endif
d3d11_dep = meson.get_compiler('cpp').find_library('d3d11', required: false)
d3dcompiler_dep = meson.get_compiler('cpp').find_library('d3dcompiler_47', required: false)
d3dcompiler_dep = meson.get_compiler('cpp').find_library('d3dcompiler', required: false)
have_gpu_demo_deps = glew_dep.found() and glfw_dep.found() and gl_dep.found()
endif