build: Make GLX dependent on X11
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2354>
This commit is contained in:
parent
bd94adaf74
commit
98f0b20e03
@ -177,7 +177,7 @@ if have_egl
|
||||
egl_dep = dependency('egl')
|
||||
endif
|
||||
|
||||
have_glx = get_option('glx')
|
||||
have_glx = get_option('glx') and have_x11_client
|
||||
if have_glx
|
||||
if not have_gl
|
||||
error('GLX support requires OpenGL to be enabled')
|
||||
|
Loading…
Reference in New Issue
Block a user