Skip to content

Commit

Permalink
Fix missing GUI requirement on egl/system
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Mar 27, 2024
1 parent 02b52a6 commit f431abf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/qt/6.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,8 +1059,11 @@ def _create_plugin(pluginname, libname, plugintype, requires):
gui_reqs.append("xkbcommon::xkbcommon")
if self.options.get_safe("with_x11", False):
gui_reqs.append("xorg::xorg")
if self.options.get_safe("with_egl"):
if self.options.get_safe("with_egl"):
if self.settings.os in ["Linux", "FreeBSD"]:
gui_reqs.append("libglvnd::egl")
else:
gui_reqs.append("egl::egl")
if self.settings.os != "Windows" and self.options.get_safe("opengl", "no") != "no":
if self.settings.os in ["FreeBSD", "Linux"]:
gui_reqs.append("libglvnd::gl")
Expand Down

0 comments on commit f431abf

Please sign in to comment.