From a539562dfcb6814ea4c556f59d6caf1ff86157f0 Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Fri, 8 Mar 2024 07:53:33 -0600 Subject: [PATCH] Make dependency on GLU headers transitive GL/glew.h includes glu.h. --- recipes/glew/all/conanfile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/glew/all/conanfile.py b/recipes/glew/all/conanfile.py index a06625d4d7e7e..6df17e18c3783 100644 --- a/recipes/glew/all/conanfile.py +++ b/recipes/glew/all/conanfile.py @@ -46,10 +46,11 @@ def layout(self): def requirements(self): self.requires("opengl/system") + # GL/glew.h includes glu.h. if is_apple_os(self) or self.settings.os == "Windows": - self.requires("glu/system") + self.requires("glu/system", transitive_headers=True) else: - self.requires("mesa-glu/9.0.3") + self.requires("mesa-glu/9.0.3", transitive_headers=True) def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True)