shfil 1 year ago committed by GitHub
parent
commit
4fe64d1b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      conanfile.py

6
conanfile.py

@ -67,9 +67,9 @@ class Re3Conan(ConanFile): @@ -67,9 +67,9 @@ class Re3Conan(ConanFile):
def validate(self):
if self.options["librw"].platform == "gl3" and self.options["librw"].gl3_gfxlib != "glfw":
raise ConanInvalidConfiguration("Only `glfw` is supported as gl3_gfxlib.")
if not self.options.with_opus:
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)")
#if not self.options.with_opus:
# 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)")
@property
def _re3_audio(self):

Loading…
Cancel
Save