🐛 Fixed ogre-* package compatibility

This commit is contained in:
Edgar 2022-03-23 16:49:03 +01:00
parent 6d315331f9
commit 25452289a3
No known key found for this signature in database
GPG Key ID: 17D930BB616061A5
4 changed files with 10 additions and 4 deletions

View File

@ -11,4 +11,7 @@ patches:
"0.6.4":
- patch_file: "patches/0.6.4/CMakeLists.txt.patch"
requirements:
- "ogre3d/[1.x]@anotherfoxguy/stable"
"0.6.3":
- "ogre3d/[1.x]@anotherfoxguy/stable"
"0.6.4":
- "ogre3d/[13.x]@anotherfoxguy/stable"

View File

@ -11,7 +11,7 @@ class CaelumConan(ConanFile):
exports_sources = "patches/**"
def requirements(self):
for req in self.conan_data["requirements"]:
for req in self.conan_data["requirements"][self.version]:
self.requires(req)
def source(self):

View File

@ -11,4 +11,7 @@ patches:
"1.3.0":
- patch_file: "patches/1.3.0/CMakeLists.txt.patch"
requirements:
- "ogre3d/[1.x]@anotherfoxguy/stable"
"1.2.0":
- "ogre3d/[1.x]@anotherfoxguy/stable"
"1.3.0":
- "ogre3d/[13.x]@anotherfoxguy/stable"

View File

@ -11,7 +11,7 @@ class PagedGeometryConan(ConanFile):
exports_sources = "patches/**"
def requirements(self):
for req in self.conan_data["requirements"]:
for req in self.conan_data["requirements"][self.version]:
self.requires(req)
def source(self):