From 4622ac85d1cec8cb7a2fcc8a1796d4b73bff285e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abril=20Rinc=C3=B3n=20Blanco?= Date: Fri, 20 Dec 2024 11:39:19 +0100 Subject: [PATCH] scnlib: 3.0.2 onwards works for gcc 11 (#26232) --- recipes/scnlib/all/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/scnlib/all/conanfile.py b/recipes/scnlib/all/conanfile.py index 14a3e596b4a2a..24ceccc7b0a31 100644 --- a/recipes/scnlib/all/conanfile.py +++ b/recipes/scnlib/all/conanfile.py @@ -82,7 +82,7 @@ def validate(self): # TODO: This should probably be a del self.options.header_only in config_options once the CI supports it if self.options.header_only: raise ConanInvalidConfiguration(f"{self.ref} doesn't support header only mode.") - if self.settings.compiler == "gcc" and Version(self.settings.compiler.version).major == "11": + if Version(self.version) < "3.0.2" and self.settings.compiler == "gcc" and Version(self.settings.compiler.version).major == "11": raise ConanInvalidConfiguration(f"{self.ref} doesn't support gcc 11.x due to std::regex_constants::multiline is not defined.") def build_requirements(self):