mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 23:25:57 +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,
|
||||
|
||||
dependency('pixman-1'),
|
||||
dependency('GL'),
|
||||
dependency('GL', 'opengl'),
|
||||
dependency('threads')
|
||||
],
|
||||
install : true
|
||||
|
|
Loading…
Reference in a new issue