Skip to content

Commit

Permalink
(conan-io#19928) beauty: use version range for openssl
Browse files Browse the repository at this point in the history
* use version range for openssl

* fix traits

* fix openssl traits

* fix openssl traits again
  • Loading branch information
SpaceIm authored and samuel-emrys committed Sep 21, 2023
1 parent 0a8f79a commit 428eeba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions recipes/beauty/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ def layout(self):
cmake_layout(self, src_folder="src")

def requirements(self):
self.requires("boost/1.79.0"),
self.requires("openssl/1.1.1s")
# beauty public headers include some boost headers.
# For example beauty/application.hpp includes boost/asio.hpp
self.requires("boost/1.79.0", transitive_headers=True)
# dependency of asio in boost, exposed in boost/asio/ssl/detail/openssl_types.hpp
self.requires("openssl/[>=1.1 <4]", transitive_headers=True, transitive_libs=True)

def validate(self):
if self.settings.compiler.get_safe("cppstd"):
Expand Down

0 comments on commit 428eeba

Please sign in to comment.