Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
fixup typo
Browse files Browse the repository at this point in the history
comes from conan-io#17763
  • Loading branch information
ericLemanissier authored May 3, 2024
1 parent be026cf commit aea92d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/libwebsockets/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ 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 ("Visual" in str(self.settings.compiler.version) and Version(self.settings.compiler.version) < 16) or \
("msvc" == str(self.settings.compiler.version) and Version(self.settings.compiler.version) < 192):
if ("Visual" in str(self.settings.compiler) and Version(self.settings.compiler.version) < 16) or \
("msvc" == str(self.settings.compiler) and Version(self.settings.compiler.version) < 192):
raise ConanInvalidConfiguration ("{}/{} requires at least Visual Studio 2019".format(self.name, self.version))

if self.options.with_hubbub:
Expand Down

0 comments on commit aea92d3

Please sign in to comment.