build: Link tests against DXGI on Windows

Fixes compilation

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2020-07-01 19:02:34 +01:00
parent cfdcaa84a1
commit c485b21726
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
vkd3d_test_deps = [ vkd3d_dep, vkd3d_utils_dep ]
if vkd3d_platform == 'windows'
vkd3d_test_deps += lib_dxgi
endif
executable('d3d12', 'd3d12.c', vkd3d_headers,
dependencies : vkd3d_test_deps + [ vkd3d_shader_dep ],
include_directories : vkd3d_private_includes,