mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
build: Only allow GLX when finding the x11 pc file
You can refine earlier the ALLOW_GLX variable when enabling OpenGL builds: No x11.pc? no GLX!
This commit is contained in:
parent
0da07b4e3d
commit
a789107860
@ -396,7 +396,8 @@ AS_IF([test "x$enable_gl" = "xyes"],
|
||||
[
|
||||
DRIVER_COUNT=$((DRIVER_COUNT + 1))
|
||||
COGL_DRIVER=gl
|
||||
ALLOW_GLX=yes
|
||||
|
||||
PKG_CHECK_EXISTS([x11], [ALLOW_GLX=yes])
|
||||
|
||||
cogl_gl_headers="GL/gl.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user