Skip to content

Commit

Permalink
prepare gnutls config
Browse files Browse the repository at this point in the history
  • Loading branch information
cguentherTUChemnitz committed Oct 14, 2022
1 parent 0810fc3 commit 4db5019
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion recipes/qpdf/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,14 @@ def generate(self):
tc.variables["REQUIRE_CRYPTO_NATIVE"] = True
tc.variables["REQUIRE_CRYPTO_GNUTLS"] = False
tc.variables["REQUIRE_CRYPTO_OPENSSL"] = False
elif self.options.with_ssl == "openssl":
if self.options.with_ssl == "openssl":
tc.variables["REQUIRE_CRYPTO_NATIVE"] = False
tc.variables["REQUIRE_CRYPTO_GNUTLS"] = False
tc.variables["REQUIRE_CRYPTO_OPENSSL"] = True
if self.options.with_ssl == "gnutls":
tc.variables["REQUIRE_CRYPTO_NATIVE"] = False
tc.variables["REQUIRE_CRYPTO_GNUTLS"] = True
tc.variables["REQUIRE_CRYPTO_OPENSSL"] = False
tc.generate()
# TODO: after https://github.com/conan-io/conan/issues/11962 is solved
# we might obsolete here cmake deps generation and cmake patching and get
Expand Down

0 comments on commit 4db5019

Please sign in to comment.