From 8a4c18afffb7ac9c1ae3bd17e904e8b92e86dca7 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 14 Feb 2023 21:52:07 +0000 Subject: [PATCH] meson: allow building GLES without GL Signed-off-by: Eric Engestrom Reviewed-by: Adam Jackson Part-of: --- meson.build | 2 -- 1 file changed, 2 deletions(-) diff --git a/meson.build b/meson.build index affeca8c611..326d8c645b3 100644 --- a/meson.build +++ b/meson.build @@ -115,12 +115,10 @@ with_opengl = get_option('opengl') with_gles1 = get_option('gles1') \ .require(with_shared_glapi, error_message : 'OpengGL ES 1.x requires shared-glapi') \ - .require(with_opengl, error_message : 'building OpenGL ES 1.x without OpenGL is not supported.') \ .allowed() with_gles2 = get_option('gles2') \ .require(with_shared_glapi, error_message : 'OpengGL ES 2.x requires shared-glapi') \ - .require(with_opengl, error_message : 'building OpenGL ES 2.x without OpenGL is not supported.') \ .allowed() with_any_opengl = with_opengl or with_gles1 or with_gles2