mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[build] Allow standalone DXGI builds
This commit is contained in:
parent
42332f7fb8
commit
9f70666777
@ -5,9 +5,6 @@ subdir('vulkan')
|
||||
subdir('dxvk')
|
||||
|
||||
if get_option('enable_dxgi')
|
||||
if not get_option('enable_d3d11')
|
||||
error('D3D11 is required for DXGI.')
|
||||
endif
|
||||
subdir('dxgi')
|
||||
endif
|
||||
|
||||
@ -16,6 +13,9 @@ if get_option('enable_d3d10') or get_option('enable_d3d11')
|
||||
endif
|
||||
|
||||
if get_option('enable_d3d11')
|
||||
if not get_option('enable_dxgi')
|
||||
error('DXGI is required for D3D11.')
|
||||
endif
|
||||
subdir('d3d11')
|
||||
endif
|
||||
|
||||
@ -32,6 +32,6 @@ if get_option('enable_d3d9')
|
||||
endif
|
||||
|
||||
# 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.?')
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user