mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:05:59 +01:00
meson: Fallback to 'opengl' when 'GL' is not found.
This patch adds 'opengl' as a fallback to 'GL' for dependency lookup, to link with libglvnd configured without X11 support. For OpenGL, libglvnd provides two pkg-config files: `gl.pc' with GLX support while `opengl.pc' not. When building without X11 support, the former won't be installed.
This commit is contained in:
parent
2c2e35eec1
commit
c21808dd2d
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ executable('Hyprland', src,
|
||||||
xcb_dep,
|
xcb_dep,
|
||||||
|
|
||||||
dependency('pixman-1'),
|
dependency('pixman-1'),
|
||||||
dependency('GL'),
|
dependency('GL', 'opengl'),
|
||||||
dependency('threads')
|
dependency('threads')
|
||||||
],
|
],
|
||||||
install : true
|
install : true
|
||||||
|
|
Loading…
Reference in a new issue