Skip to content

Commit

Permalink
(#23968) libwebsocket: actually build 4.3.2 and later
Browse files Browse the repository at this point in the history
fixes #23967
  • Loading branch information
ericLemanissier committed May 14, 2024
1 parent 9db6f2f commit 6c1187c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipes/libwebsockets/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ def validate(self):
# https://github.com/conan-io/conan-center-index/pull/5321#issuecomment-826367276
raise ConanInvalidConfiguration("{}/{} shared=True with gcc<5 does not build. Please submit a PR with a fix.".format(self.name, self.version))
if Version(self.version) >= "4.3.2":
if check_min_vs(self, "192", raise_invalid=False):
raise ConanInvalidConfiguration ("{}/{} requires at least Visual Studio 2019".format(self.name, self.version))
check_min_vs(self, "192")

if self.options.with_hubbub:
raise ConanInvalidConfiguration("Library hubbub not implemented (yet) in CCI")
Expand Down

0 comments on commit 6c1187c

Please sign in to comment.