1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 10:54:16 +01:00

[d3d10] Fix d3d11 dependecy for winelib build

This commit is contained in:
pchome 2018-08-28 00:19:18 +03:00 committed by Philip Rebohle
parent f1b075c0f3
commit ff604d5a53

View File

@ -3,10 +3,13 @@ d3d10_main_src = [
'd3d10_reflection.cpp',
]
d3d10_deps = [ lib_d3dcompiler_43, lib_dxgi ]
d3d10_deps += meson.get_cross_property('winelib', false) ? lib_d3d11 : d3d11_dep
d3d10_core_dll = shared_library('d3d10core'+dll_ext, d3d10_main_src,
name_prefix : '',
link_with : [ util_lib ],
dependencies : [ lib_d3dcompiler_43, lib_dxgi, d3d11_dep, dxbc_dep, dxvk_dep ],
dependencies : [ d3d10_deps, dxbc_dep, dxvk_dep ],
include_directories : dxvk_include_path,
install : true,
objects : not dxvk_msvc ? 'd3d10core'+def_spec_ext : [],
@ -16,7 +19,7 @@ d3d10_core_dll = shared_library('d3d10core'+dll_ext, d3d10_main_src,
d3d10_dll = shared_library('d3d10'+dll_ext, d3d10_main_src,
name_prefix : '',
link_with : [ util_lib ],
dependencies : [ lib_d3dcompiler_43, lib_dxgi, d3d11_dep, dxbc_dep, dxvk_dep ],
dependencies : [ d3d10_deps, dxbc_dep, dxvk_dep ],
include_directories : dxvk_include_path,
install : true,
objects : not dxvk_msvc ? 'd3d10'+def_spec_ext : [],
@ -26,7 +29,7 @@ d3d10_dll = shared_library('d3d10'+dll_ext, d3d10_main_src,
d3d10_1_dll = shared_library('d3d10_1'+dll_ext, d3d10_main_src,
name_prefix : '',
link_with : [ util_lib ],
dependencies : [ lib_d3dcompiler_43, lib_dxgi, d3d11_dep, dxbc_dep, dxvk_dep ],
dependencies : [ d3d10_deps, dxbc_dep, dxvk_dep ],
include_directories : dxvk_include_path,
install : true,
objects : not dxvk_msvc ? 'd3d10_1'+def_spec_ext : [],