Skip to content

Commit

Permalink
(conan-io#21643) libsndfile: fix version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier authored and Tony Perrie committed Dec 15, 2023
1 parent 51a07ec commit 445b83e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/libsndfile/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def generate(self):
if is_msvc(self) and Version(self.version) < "1.0.30":
tc.variables["ENABLE_STATIC_RUNTIME"] = is_msvc_static_runtime(self)
tc.variables["BUILD_REGTEST"] = False
if Version(self.version) > "1.11.0":
# https://github.com/libsndfile/libsndfile/commit/663a59aa6ea5e24cf5159b8e1c2b0735712ea74e#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a
if Version(self.version) >= "1.1.0":
tc.variables["ENABLE_MPEG"] = self.options.with_mpeg
# Fix iOS/tvOS/watchOS
tc.variables["CMAKE_MACOSX_BUNDLE"] = False
Expand Down

0 comments on commit 445b83e

Please sign in to comment.