From 6c1187ccd1fe29b27d36c25b77855abb3070a4b9 Mon Sep 17 00:00:00 2001 From: ericLemanissier Date: Tue, 14 May 2024 12:33:54 +0200 Subject: [PATCH] (#23968) libwebsocket: actually build 4.3.2 and later fixes https://github.com/conan-io/conan-center-index/issues/23967 --- recipes/libwebsockets/all/conanfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/libwebsockets/all/conanfile.py b/recipes/libwebsockets/all/conanfile.py index 89ae9a72021ba..21f493452d927 100644 --- a/recipes/libwebsockets/all/conanfile.py +++ b/recipes/libwebsockets/all/conanfile.py @@ -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")