Viktor Szakats 422696f0a4
cmake: migrate dependency detections to Find modules
For: libgsasl, libidn2, libssh, libuv.

The new Find modules retain using `pkg-config` natively, not as a "hint"
for the CMake-native detection. Of the pre-existing Find modules, only
FindNettle, and FindGSS (with customized code) work this way. Align
detection code for the new modules and add version detection for the
CMake-native paths.

Also, add CMake-native detection for `libgsasl`.

The remaining outlier in `CMakeLists.txt` is GnuTLS, which has
a CMake built-in Find module, but which lacks `pkg-config` support,
required for vcpkg. It remains unchanged.

Another part-outlier is `libssh`, which keeps requiring the trick
`find_package(libssh CONFIG QUIET)` for reasons I could not yet figure
out.

Closes #14555
2024-08-20 11:38:40 +02:00
..
2024-08-03 20:49:15 +02:00
2024-08-20 00:50:10 +02:00
2024-08-18 22:53:09 +02:00
2024-08-20 00:50:10 +02:00
2024-08-20 00:50:10 +02:00
2024-08-20 00:50:10 +02:00
2024-08-20 00:50:10 +02:00
2024-08-07 23:41:27 +02:00
2024-08-07 23:41:27 +02:00
2024-08-07 23:41:27 +02:00