From e3d0450f3182b0f22b0d3cb420e0006469cdd3b9 Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Wed, 12 Jun 2024 10:49:59 +0200 Subject: [PATCH] cmake/3.x.x: bump OpenSSL (#20438) * cmake/3.x.x: bump OpenSSL * with_openssl option is only used on Linux * cmake/3.x.x: use version range for OpenSSL --------- Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com> --- recipes/cmake/3.x.x/conanfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/cmake/3.x.x/conanfile.py b/recipes/cmake/3.x.x/conanfile.py index f6de583315097..042191e304bd0 100644 --- a/recipes/cmake/3.x.x/conanfile.py +++ b/recipes/cmake/3.x.x/conanfile.py @@ -37,8 +37,8 @@ def config_options(self): self.options.with_openssl = False def requirements(self): - if self.options.with_openssl: - self.requires("openssl/1.1.1t") + if self.options.get_safe("with_openssl", default=False): + self.requires("openssl/[>=1.1 <4]") def validate_build(self): if self.settings.os == "Windows" and self.options.bootstrap: