diff mbox

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

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

Commit Message

Eric Engestrom March 20, 2018, 5:46 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 f07aa0010f150be70f46..5c4b223f5a36255f492f 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 == 'auto'