diff mbox

[libdrm,v2,13/23] meson: use simple option handling for vmwgfx

Message ID 20180404153818.26179-13-eric.engestrom@imgtec.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Engestrom April 4, 2018, 3:38 p.m. UTC
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---
 meson.build | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
diff mbox

Patch

diff --git a/meson.build b/meson.build
index e871c77c9860a84eed8f..6786a44e3df1a2e00540 100644
--- a/meson.build
+++ b/meson.build
@@ -74,6 +74,7 @@  foreach d : [
   ['radeon', true, true],
   ['amdgpu', true, true],
   ['nouveau', true, true],
+  ['vmwgfx', false, true],
 ]
   driver = d[0]
   require_atomics = d[1]
@@ -94,12 +95,6 @@  foreach d : [
   endif
 endforeach
 
-with_vmwgfx = false
-_vmwgfx = get_option('vmwgfx')
-if _vmwgfx != 'false'
-  with_vmwgfx = true
-endif
-
 with_omap = false
 _omap = get_option('omap')
 if _omap == 'true'