mirror of
https://github.com/brl/mutter.git
synced 2025-08-10 02:14:42 +00: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:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user