curl/CMake
Viktor Szakats 39c741b7b0
cmake: add native pkg-config detection for remaining Find modules
brotli, c-ares, libpsl, libssh2, nghttp2, nghttp3, ntgcp2, zstd.

Also:

Add workaround for CMake reporting successful libssh2 detection, but
leaving the header directory empty, and causing `libssh2.h` not found
while compiling. It happens when `pkgconf` is not detecting libssh2
dependency libcrypto in Homebrew after `brew unlink openssl` (as in
GHA/macos). The workaround is to require a non-empty header directory
to consider the detection successful. This workaround may need to be
tweaked and/or applied to other Find modules.

Follow-up to 7bab201abe #15193

Closes #15408
2024-12-17 02:30:55 +01:00
..
Platforms build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
cmake_uninstall.cmake.in cmake: more small tidy-ups and fixes 2024-08-08 13:48:28 +02:00
CMakeConfigurableFile.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.cmake.in cmake: enable CURL_USE_PKGCONFIG for cross-MINGW 2024-12-16 22:16:06 +01:00
CurlSymbolHiding.cmake Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
CurlTests.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
FindBearSSL.cmake cmake: document -D and env build options 2024-10-24 23:06:40 +02:00
FindBrotli.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindCares.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindGSS.cmake Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
FindLDAP.cmake cmake: replace unset(VAR) with set(VAR "") for init 2024-12-16 21:12:51 +01:00
FindLibgsasl.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindLibidn2.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindLibpsl.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindLibssh.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindLibssh2.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindLibuv.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindMbedTLS.cmake cmake/FindMbedTLS: drop lib duplicates early 2024-12-14 23:43:02 +01:00
FindMSH3.cmake build: omit certain deps from libcurl.pc unless found via pkg-config 2024-11-14 22:38:47 +01:00
FindNettle.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindNGHTTP2.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindNGHTTP3.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindNGTCP2.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindQuiche.cmake cmake: document -D and env build options 2024-10-24 23:06:40 +02:00
FindRustls.cmake build: omit certain deps from libcurl.pc unless found via pkg-config 2024-11-14 22:38:47 +01:00
FindWolfSSH.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindWolfSSL.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindZstd.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
Macros.cmake cmake: namespace functions and macros 2024-12-16 21:55:00 +01:00
OtherTests.cmake Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
PickyWarnings.cmake Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
Utilities.cmake cmake: namespace functions and macros 2024-12-16 21:55:00 +01:00