cmake: add CMake Config-based dependency detection for c-ares, wolfSSL

For wolfSSL it requires v5.2.1+, and with 5.9.0+ it's also supported when
wolfSSL was built with autotools.

Follow-up to 8fce3e17e6 #20814

Closes #21098
This commit is contained in:
Viktor Szakats 2026-03-25 20:05:32 +01:00
parent f660b77f74
commit a56ab9dbc8
No known key found for this signature in database
3 changed files with 35 additions and 11 deletions

View file

@ -393,9 +393,9 @@ Details via CMake
- `<PackageName>_DIR`: Absolute path to `<PackageName>` CMake Config directory where `*.cmake` files reside.
Used when `CURL_USE_CMAKECONFIG` is enabled.
`<PackageName>` may be:
`Libssh2`, `MbedTLS`, `NGHTTP2`, `NGHTTP3`,
`NGTCP2` 1.19.0+ (with non-fork OpenSSL only),
`Zstd` 1.4.5+.
`c-ares`, `Libssh2`, `MbedTLS`, `NGHTTP2`, `NGHTTP3`,
`NGTCP2` for 1.19.0+ (with non-fork OpenSSL only),
`wolfssl` for 5.2.1+, `Zstd` for 1.4.5+.
## Dependency options (tools)