mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[build] Don't build D3D10 on non-Windows platforms
Not supported due to d3dcompiler schenanigans
This commit is contained in:
parent
baba2e3c09
commit
191d54e210
@ -20,10 +20,14 @@ if get_option('enable_d3d11')
|
||||
endif
|
||||
|
||||
if get_option('enable_d3d10')
|
||||
if not get_option('enable_d3d11')
|
||||
error('D3D11 is required for D3D10.')
|
||||
if platform == 'windows'
|
||||
if not get_option('enable_d3d11')
|
||||
error('D3D11 is required for D3D10.')
|
||||
endif
|
||||
subdir('d3d10')
|
||||
else
|
||||
warning('Building D3D10 is not supported on non-Windows platforms')
|
||||
endif
|
||||
subdir('d3d10')
|
||||
endif
|
||||
|
||||
if get_option('enable_d3d9')
|
||||
|
Loading…
x
Reference in New Issue
Block a user