mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-21 13:29:26 +01:00
[build] Allow standalone DXGI builds
This commit is contained in:
parent
42332f7fb8
commit
9f70666777
@ -5,9 +5,6 @@ subdir('vulkan')
|
|||||||
subdir('dxvk')
|
subdir('dxvk')
|
||||||
|
|
||||||
if get_option('enable_dxgi')
|
if get_option('enable_dxgi')
|
||||||
if not get_option('enable_d3d11')
|
|
||||||
error('D3D11 is required for DXGI.')
|
|
||||||
endif
|
|
||||||
subdir('dxgi')
|
subdir('dxgi')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -16,6 +13,9 @@ if get_option('enable_d3d10') or get_option('enable_d3d11')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('enable_d3d11')
|
if get_option('enable_d3d11')
|
||||||
|
if not get_option('enable_dxgi')
|
||||||
|
error('DXGI is required for D3D11.')
|
||||||
|
endif
|
||||||
subdir('d3d11')
|
subdir('d3d11')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -32,6 +32,6 @@ if get_option('enable_d3d9')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Nothing selected
|
# Nothing selected
|
||||||
if not get_option('enable_d3d9') and not get_option('enable_d3d10') and not get_option('enable_d3d11')
|
if not get_option('enable_d3d9') and not get_option('enable_dxgi')
|
||||||
warning('Nothing selected to be built.?')
|
warning('Nothing selected to be built.?')
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user