mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +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:
parent
4ad99feb73
commit
27898ebbfc
@ -4,8 +4,8 @@ subdir('vulkan')
|
|||||||
subdir('dxvk')
|
subdir('dxvk')
|
||||||
|
|
||||||
if get_option('enable_dxgi')
|
if get_option('enable_dxgi')
|
||||||
if not get_option('enable_d3d10') and not get_option('enable_d3d11')
|
if not get_option('enable_d3d11')
|
||||||
error('D3D10 and/or D3D11 required for DXGI to properly functionning.')
|
error('D3D11 is required for DXGI.')
|
||||||
endif
|
endif
|
||||||
subdir('dxgi')
|
subdir('dxgi')
|
||||||
endif
|
endif
|
||||||
@ -20,7 +20,7 @@ endif
|
|||||||
|
|
||||||
if get_option('enable_d3d10')
|
if get_option('enable_d3d10')
|
||||||
if not get_option('enable_d3d11')
|
if not get_option('enable_d3d11')
|
||||||
error('D3D11 required for D3D10 to properly functionning.')
|
error('D3D11 is required for D3D10.')
|
||||||
endif
|
endif
|
||||||
subdir('d3d10')
|
subdir('d3d10')
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user