1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[build] Simplify and correct errors in options handling

Fix some typos...

D3D10 is dependent on D3D11 therefore DXGI is always dependent on D3D11
This commit is contained in:
Joshua Ashton 2019-11-04 23:16:21 +00:00 committed by Philip Rebohle
parent 4ad99feb73
commit 27898ebbfc

View File

@ -4,8 +4,8 @@ subdir('vulkan')
subdir('dxvk')
if get_option('enable_dxgi')
if not get_option('enable_d3d10') and not get_option('enable_d3d11')
error('D3D10 and/or D3D11 required for DXGI to properly functionning.')
if not get_option('enable_d3d11')
error('D3D11 is required for DXGI.')
endif
subdir('dxgi')
endif
@ -20,7 +20,7 @@ endif
if get_option('enable_d3d10')
if not get_option('enable_d3d11')
error('D3D11 required for D3D10 to properly functionning.')
error('D3D11 is required for D3D10.')
endif
subdir('d3d10')
endif