Commit 576f4e0c authored by Matthew Waters's avatar Matthew Waters
Browse files

gl/build/meson: fix gl_api variable names

parent 92048b81
......@@ -370,9 +370,9 @@ if gles2_dep.found() and gl_dep.found()
# https://github.com/mesonbuild/meson/issues/2364 is fixed
if not cc.compiles(gl_include_block + '\n' + 'void f (void) {}',dependencies : [gles2_dep, gl_dep])
message ('Cannot include both OpenGL and OpenGL ES headers')
if need_gles2 != 'yes'
if need_api_gles2 != 'yes'
gles2_dep = unneeded_dep
elif need_opengl != 'yes'
elif need_api_opengl != 'yes'
gl_dep = unneeded_dep
else
error('Both OpenGL and OpenGL ES were requested but cannot be included together')
......
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