curl/CMake
Viktor Szakats f3a03df6a1
cmake: revert to pkg_check_modules()
Prefer `pkg_check_modules()` over `pkg_search_module()`.

`pkg_check_modules()` logs a line when there is a hit, and also warnings
if a sub-dependency is missing. In `QUIET` mode, both are silent.

The extra info is useful to see if a detection happened via
`pkg-config`.

Keep `pkg_search_module()` in `FindGSS`. We pass two dependencies
there and we want to keep stopping on the first one.

Partially reverts c2889a7b41 #14388

Closes #14573
2024-08-17 00:31:52 +02:00
..
Platforms build: tidy up __builtin_available feature checks (Apple) 2024-07-10 11:42:46 +02: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: add CURL_USE_PKGCONFIG option 2024-08-13 09:28:27 +02:00
CurlSymbolHiding.cmake cmake: more small tidy-ups and fixes 2024-08-08 13:48:28 +02:00
CurlTests.c cmake: tidy-ups 2024-08-03 20:49:15 +02:00
FindBearSSL.cmake cmake: sync up result variable names in Find modules 2024-08-14 14:58:58 +02:00
FindBrotli.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindCARES.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindGSS.cmake cmake: sync up result variable names in Find modules 2024-08-14 14:58:58 +02:00
FindLibPSL.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindLibSSH2.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindMbedTLS.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindMSH3.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindNettle.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindNGHTTP2.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindNGHTTP3.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindNGTCP2.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindQUICHE.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
Findrustls.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindWolfSSH.cmake cmake: add wolfSSH support 2024-08-16 09:36:57 +02:00
FindWolfSSL.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
FindZstd.cmake cmake: revert to pkg_check_modules() 2024-08-17 00:31:52 +02:00
Macros.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
OtherTests.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
PickyWarnings.cmake tidy-up: OS names 2024-08-04 19:17:45 +02:00
Utilities.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00