curl/CMake
Viktor Szakats 699ac9430c
cmake: publish/check supported protocols/features via CURLConfig.cmake
Via these variables, as lists:
- `CURL_SUPPORTED_PROTOCOLS`
- `CURL_SUPPORTED_FEATURES`

As individual flags:
- `CURL_SUPPORTS_<protocol/feature>` = `TRUE`

Also:
- set `CURL_VERSION_STRING` which was missing when using
  `find_package(CURL CONFIG)` or
  `find_package(CURL NO_MODULE)`.
- set `CURL_<prototol/feature>_FOUND` for compatibility.
- show full list of missing but required `COMPONENTS`.

Assisted-by: Derek Huang
Fixes #15854
Closes #15858
2025-01-04 10:29:00 +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: publish/check supported protocols/features via CURLConfig.cmake 2025-01-04 10:29:00 +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 tidy-up: misc 2024-12-24 01:27:26 +01:00
FindBearSSL.cmake cmake: document -D and env build options 2024-10-24 23:06:40 +02:00
FindBrotli.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindCares.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindGSS.cmake cmake: drop redundant opening/closing .* from MATCH expressions 2024-12-20 11:38:59 +01:00
FindLDAP.cmake cmake/FindLDAP: avoid framework locations for libs too (Apple) 2025-01-02 12:55:50 +01:00
FindLibgsasl.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibidn2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibpsl.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibrtmp.cmake cmake: add librtmp Find module 2024-12-27 12:52:23 +01:00
FindLibssh2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibssh.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibuv.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindMbedTLS.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindMSH3.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNettle.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNGHTTP2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNGHTTP3.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNGTCP2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindQuiche.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindRustls.cmake cmake: make system libraries dl, m, pthread customizable 2025-01-02 12:55:50 +01:00
FindWolfSSH.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindWolfSSL.cmake cmake: make system libraries dl, m, pthread customizable 2025-01-02 12:55:50 +01:00
FindZstd.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +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 Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
PickyWarnings.cmake cmake: optimize out 4 picky warning option detections with gcc 2024-12-29 01:13:31 +01:00
Utilities.cmake cmake: tidy up local variable names 2024-12-28 12:29:59 +01:00
win32-cache.cmake build: fix unsigned time_t detection for cmake, MS-DOS, AmigaOS 2024-12-31 11:36:56 +01:00