From 27898ebbfc992936fce9549687435b9df1914a53 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 4 Nov 2019 23:16:21 +0000 Subject: [PATCH] [build] Simplify and correct errors in options handling Fix some typos... D3D10 is dependent on D3D11 therefore DXGI is always dependent on D3D11 --- src/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meson.build b/src/meson.build index 3dc65fc8..64057f37 100644 --- a/src/meson.build +++ b/src/meson.build @@ -4,8 +4,8 @@ subdir('vulkan') subdir('dxvk') if get_option('enable_dxgi') - if not get_option('enable_d3d10') and not get_option('enable_d3d11') - error('D3D10 and/or D3D11 required for DXGI to properly functionning.') + if not get_option('enable_d3d11') + error('D3D11 is required for DXGI.') endif subdir('dxgi') endif @@ -20,7 +20,7 @@ endif if get_option('enable_d3d10') if not get_option('enable_d3d11') - error('D3D11 required for D3D10 to properly functionning.') + error('D3D11 is required for D3D10.') endif subdir('d3d10') endif