Skip to content

Commit

Permalink
Make dependency on GLU headers transitive
Browse files Browse the repository at this point in the history
GL/glew.h includes glu.h.
  • Loading branch information
jwillikers committed Mar 8, 2024
1 parent 3f99cb3 commit a539562
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/glew/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a539562

Please sign in to comment.