diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2025-04-16 21:16:00 (GMT) |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2025-04-16 21:16:00 (GMT) |
| commit | 4acfe363a2e8776afe08be6a09b00cf4c7e0fcd6 (patch) | |
| tree | dce148f56e00cd2b336cc7c8265034192e4d1a96 /Tests/RunCMake/FindPython/Python3SABIModule.cmake | |
| parent | ca9fa874d8faf700acae3037f02fe166ef2ea37c (diff) | |
| download | CMake-4acfe363a2e8776afe08be6a09b00cf4c7e0fcd6.zip CMake-4acfe363a2e8776afe08be6a09b00cf4c7e0fcd6.tar.gz CMake-4acfe363a2e8776afe08be6a09b00cf4c7e0fcd6.tar.bz2 | |
FindCURL: Fix hardcoded outdated protocols and features
This removes the hardcoded known protocols and features and only checks
whether the specified component(s) by the
`find_package(COMPONENT|OPTIONAL_COMPONENT <components>...)` call are
found and listed by either the pkg-config or the curl-config tool. When
curl is found via its CMake package configuration file, this issue
wasn't relevant.
Additionally, this also removes two internal FindCURL module variables
`CURL_KNOWN_PROTOCOLS` and `CURL_KNOWN_FEATURES`.
Redundant fatal error thrown is also removed as this is handled by the
`find_package_handle_standard_args()`.
Fixes #26866
Diffstat (limited to 'Tests/RunCMake/FindPython/Python3SABIModule.cmake')
0 files changed, 0 insertions, 0 deletions
