1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 12:30:00 +00:00
This commit is contained in:
shfil 2021-01-12 23:46:11 +01:00 committed by GitHub
parent 461e9fe5c2
commit 4fe64d1b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,9 +67,9 @@ class Re3Conan(ConanFile):
def validate(self): def validate(self):
if self.options["librw"].platform == "gl3" and self.options["librw"].gl3_gfxlib != "glfw": if self.options["librw"].platform == "gl3" and self.options["librw"].gl3_gfxlib != "glfw":
raise ConanInvalidConfiguration("Only `glfw` is supported as gl3_gfxlib.") raise ConanInvalidConfiguration("Only `glfw` is supported as gl3_gfxlib.")
if not self.options.with_opus: #if not self.options.with_opus:
if not self.options["libsndfile"].with_external_libs: # if not self.options["libsndfile"].with_external_libs:
raise ConanInvalidConfiguration("re3 with opus support requires a libsndfile built with external libs (=ogg/flac/opus/vorbis)") # raise ConanInvalidConfiguration("re3 with opus support requires a libsndfile built with external libs (=ogg/flac/opus/vorbis)")
@property @property
def _re3_audio(self): def _re3_audio(self):