Skip to content

Commit

Permalink
vendor: Update cpp-netlib requires openssl/1.1.1s
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Feb 7, 2023
1 parent 98d1132 commit a942a45
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions vendor/cpp-netlib/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ class CppNetlib(ConanFile):
options = {
"shared": [True, False],
}
no_copy_source = True
default_options = {
"shared": False,
}
generators = "CMakeDeps"
no_copy_source = True
requires = [
# CppNetlib does not work with a boost that is newer than 1.69
"boost/[>=1.65.0 <1.70]",
"openssl/1.1.1g",
"openssl/1.1.1s",
]

def source(self):
Expand All @@ -46,12 +47,8 @@ def generate(self):
tc.cache_variables["CPP-NETLIB_ENABLE_HTTPS"] = True
tc.cache_variables["CPP-NETLIB_STATIC_BOOST"] = True
tc.cache_variables["CPP-NETLIB_STATIC_OPENSSL"] = True
tc.cache_variables["Boost_NO_BOOST_CMAKE"] = True
tc.generate()

deps = cmake.CMakeDeps(self)
deps.generate()

def build(self):
cm = cmake.CMake(self)
#cm.configure(build_script_folder=self.recipe_folder + "/src")
Expand Down

0 comments on commit a942a45

Please sign in to comment.