curl/CMake
Viktor Szakats b92ead34dd
cmake: drop if(PKG_CONFIG_FOUND) guard for pkg_check_modules()
The oldest cmake supported by curl is v3.7.0, which already has such
guard (using `PKG_CONFIG_EXECUTABLE`) inside `pkg_check_modules()`. The
advantage of leaving that guard to CMake is that it will define/reset
all output variables, while the manual guard doesn't do this and also
leaves for example `NETTLE_FOUND` undefined.

Delete the single use of this guard from the recently added `nettle`
detection, where I included it by accident. Then possibly re-introduce
it universally if we find it useful after more evaluation.

Follow-up to 669ce42275 #14285
Closes #14309
2024-07-30 14:33:50 +02:00
..
Platforms build: tidy up __builtin_available feature checks (Apple) 2024-07-10 11:42:46 +02:00
cmake_uninstall.cmake.in
CMakeConfigurableFile.in
curl-config.cmake.in cmake: bring curl-config.cmake closer to FindCURL 2024-06-13 11:17:32 +02:00
CurlSymbolHiding.cmake build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
CurlTests.c build: tidy up __builtin_available feature checks (Apple) 2024-07-10 11:42:46 +02:00
FindBearSSL.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindBrotli.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindCARES.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindGSS.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindLibPSL.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindLibSSH2.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindMbedTLS.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindMSH3.cmake
FindNettle.cmake cmake: drop if(PKG_CONFIG_FOUND) guard for pkg_check_modules() 2024-07-30 14:33:50 +02:00
FindNGHTTP2.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindNGHTTP3.cmake
FindNGTCP2.cmake
FindQUICHE.cmake
FindWolfSSL.cmake cmake: improve wolfSSL detection 2024-07-01 17:49:14 +02:00
FindZstd.cmake
Macros.cmake
OtherTests.cmake build: use #error instead of invalid syntax 2024-07-14 14:03:00 +02:00
PickyWarnings.cmake build: sync warning options between autotools, cmake & compilers 2024-07-10 11:30:40 +02:00
Utilities.cmake