curl/CMake
Viktor Szakats f2adb3b6d7
cmake: extend zlib's AUTO option to brotli, zstd and enable if found
- make `curl_dependency_option()` more generic.

- extend `CURL_BROTLI` and `CURL_ZSTD` options to accept
  `AUTO` in addition to existing `ON` and `OFF`.

- change `CURL_BROTLI` and `CURL_ZSTD` option default
  to `AUTO`. Was: `OFF`.
  It brings cmake behavior closer to `./configure`.
  Still different:
  - `./configure` defaults to `off` which means to check default
    locations. cmake checks more locations by default.
    (Also tried `NO_CMAKE_PATH`, but then it checked less locations.)
  - cmake returns both `brotlicommon` and `brotlidec` libs,
    while `./configure` only returns the latter.

- ci: drop explicit cmake options, that are now unnecessary.

- GHA/configure-vs-cmake: make adjustments to make tests pass.

Closes #15431
2024-12-17 04:06:45 +01:00
..
Platforms
cmake_uninstall.cmake.in
CMakeConfigurableFile.in
curl-config.cmake.in Revert: cmake: enable CURL_USE_PKGCONFIG for cross-MINGW 2024-12-17 03:21:22 +01:00
CurlSymbolHiding.cmake
CurlTests.c
FindBearSSL.cmake
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
FindLDAP.cmake
FindLibgsasl.cmake
FindLibidn2.cmake
FindLibpsl.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindLibssh2.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
FindLibssh.cmake
FindLibuv.cmake
FindMbedTLS.cmake
FindMSH3.cmake
FindNettle.cmake
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
FindRustls.cmake build: omit certain deps from libcurl.pc unless found via pkg-config 2024-11-14 22:38:47 +01:00
FindWolfSSH.cmake
FindWolfSSL.cmake
FindZstd.cmake cmake: add native pkg-config detection for remaining Find modules 2024-12-17 02:30:55 +01:00
Macros.cmake cmake: extend zlib's AUTO option to brotli, zstd and enable if found 2024-12-17 04:06:45 +01:00
OtherTests.cmake
PickyWarnings.cmake
Utilities.cmake