mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +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
1 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue