Skip to content

Commit

Permalink
cmake/3.x.x: bump OpenSSL (#20438)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
mayeut and jcar87 authored Jun 12, 2024
1 parent 7462c22 commit e3d0450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/cmake/3.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e3d0450

Please sign in to comment.