From 789f440f7c2bfda2e17f05ecdcb1a19245f892df Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 7 Mar 2022 22:51:40 -0500 Subject: docs: add forgotten documentation for the new openssl dependency --- docs/markdown/Dependencies.md | 6 ++++++ docs/markdown/snippets/openssl_dependency.md | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 docs/markdown/snippets/openssl_dependency.md (limited to 'docs') diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 8165955..15da929 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -625,6 +625,12 @@ for OpenMP support. The `language` keyword may used. +## OpenSSL + +*(added 0.62.0)* + +`method` may be `auto`, `pkg-config`, `system` or `cmake`. + ## pcap *(added 0.42.0)* diff --git a/docs/markdown/snippets/openssl_dependency.md b/docs/markdown/snippets/openssl_dependency.md new file mode 100644 index 0000000..f6f9b63 --- /dev/null +++ b/docs/markdown/snippets/openssl_dependency.md @@ -0,0 +1,11 @@ +## New custom dependency for OpenSSL + +Detecting an OpenSSL installation in a cross-platform manner can be +complicated. Officially, pkg-config is supported by upstream. Unofficially, +cmake includes a FindOpenSSL using a different name and which requires +specifying modules. + +Meson will now allow the pkg-config name to work in all cases using the following lookup order: +- prefer pkg-config if at all possible +- attempt to probe the system for the standard library naming, and retrieve the version from the headers +- if all else fails, check if cmake can find it -- cgit v1.1