mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 09:40:29 +01:00
meson: allow building GLES without GL
Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21343>
This commit is contained in:
parent
da25d0b8e4
commit
8a4c18afff
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue