From 9b527af4fc81fe9dc93ce6a96eb761eb06ec0478 Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Sat, 2 Mar 2024 06:23:20 -0600 Subject: [PATCH] fltk: Use the mesa-glu Conan package This is done the same way as for the FreeGLUT package in #22428. Fixes #22944. --- recipes/fltk/all/conanfile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/fltk/all/conanfile.py b/recipes/fltk/all/conanfile.py index 31462b1c918734..a5e60317e9e64d 100644 --- a/recipes/fltk/all/conanfile.py +++ b/recipes/fltk/all/conanfile.py @@ -72,7 +72,10 @@ def requirements(self): if self.settings.os in ["Linux", "FreeBSD"]: if self.options.with_gl: self.requires("opengl/system") - self.requires("glu/system") + if is_apple_os(self) or self.settings.os == "Windows": + self.requires("glu/system") + else: + self.requires("mesa-glu/9.0.3") self.requires("fontconfig/2.15.0") self.requires("xorg/system") if self.options.with_xft: