Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
dornbirndevelops and uilianries authored Aug 17, 2022
1 parent cbffdfe commit 0742b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/civetweb/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def generate(self):
tc = CMakeToolchain(self)

if self.options.with_ssl:
openssl_version = Version(self.deps_cpp_info["openssl"].version[:-1])
openssl_version = Version(self.dependencies["openssl"].ref.version[:-1])
tc.variables["CIVETWEB_ENABLE_SSL"] = self.options.with_ssl
tc.variables["CIVETWEB_ENABLE_SSL_DYNAMIC_LOADING"] = self.options.ssl_dynamic_loading
tc.variables["CIVETWEB_SSL_OPENSSL_API_1_0"] = openssl_version.minor == "0"
Expand Down

0 comments on commit 0742b42

Please sign in to comment.