Skip to content

Commit

Permalink
ogre: enable GLES2 by default only on embedded systems
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Sep 23, 2024
1 parent 27e82d5 commit c4293da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/ogre/1.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ def _build_opengl(self):
def config_options(self):
if self.settings.os == "Windows":
del self.options.fPIC
if not (self.settings.os == "Android" or is_apple_os(self) and self.settings.os != "Macos"):
# GLES is generally not useful and not guaranteed to be available in non-embedded contexts
self.options.build_rendersystem_gles2 = False
if self.settings.os != "Windows":
self.options.rm_safe("build_rendersystem_d3d9")
self.options.rm_safe("build_rendersystem_d3d11")
Expand Down

0 comments on commit c4293da

Please sign in to comment.