curl/CMake
Viktor Szakats 421e592db2
cmake: add librtmp Find module
The new detection method also allows to enable librtmp without using
OpenSSL as a curl TLS backend at the same time.

Also:
- implement manual version detection for librtmp.
  Version info is in hex. With CMake 3.13 and newer, extract it as a hex
  number. With earlier CMake version, just strip the leading zeroes.
  Doing more here seems overkill because librtmp has been standing
  at 2.3/2.4 for a decade now. Bumping into hex digits seems unlikely
  before deprecating CMake 3.13 support.
  librtmp advertises v2.4 via its `pkg-config` module, and v2.3 via
  its public header. The latter shows up in `curl -V` and either can
  be shown at configure-time depending on detection method.
  This isn't a curl bug.
- GHA/macos: enable rtmp in a job.
- apply the "half-detection" fix to the Find module.
  `librtmp` is also affected (in CI too), because it depends on libssl and
  libcrypto.

Closes #15832
2024-12-27 12:52:23 +01:00
..
Platforms src: add CURL_STRICMP() macro, use _stricmp() on Windows 2024-12-23 22:06:07 +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 Revert: cmake: enable CURL_USE_PKGCONFIG for cross-MINGW 2024-12-17 03:21:22 +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: move pkg-config names to Find modules 2024-12-26 12:59:59 +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: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindWolfSSH.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindWolfSSL.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +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 build: drop -Winline picky warning 2024-12-23 22:13:23 +01:00
Utilities.cmake cmake: namespace functions and macros 2024-12-16 21:55:00 +01:00