Commit 7c4423cc authored by Eric Engestrom's avatar Eric Engestrom
Browse files

meson: fix platforms check for `-D egl=true`

Fixes: 0ed6a87a

 "meson: fix platforms=[]"
Reported-by: default avatarChristoph Haag <>
Reviewed-by: default avatarDylan Baker <>
Signed-off-by: default avatarEric Engestrom <>
parent 1ac4439d
......@@ -292,7 +292,7 @@ elif _egl == 'true'
error('EGL requires dri')
elif not with_shared_glapi
error('EGL requires shared-glapi')
elif with_platforms
elif not with_platforms
error('No platforms specified, consider -Dplatforms=drm,x11 at least')
elif not ['disabled', 'dri'].contains(with_glx)
error('EGL requires dri, but a GLX is being built without dri')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment