]> git.feebdaed.xyz Git - 0xmirror/curl.git/commitdiff
cmake: replace deprecated `OPENSSL_FOUND` with `OpenSSL_FOUND`
authorViktor Szakats <commit@vsz.me>
Wed, 17 Dec 2025 14:57:10 +0000 (15:57 +0100)
committerViktor Szakats <commit@vsz.me>
Wed, 17 Dec 2025 16:56:33 +0000 (17:56 +0100)
Used in `CMake/FindLibrtmp.cmake`.

`OpenSSL_FOUND` available since CMake v3.3.
`OPENSSL_FOUND` deprecated since v4.2.

Ref: https://cmake.org/cmake/help/v4.2/module/FindOpenSSL.html

Closes #20012

CMake/FindLibrtmp.cmake

index 070538578e4a16d7a88336e4637c6bdd2a2e330e..853ba63ad0172e3b2d86659f323a8fb02042b64f 100644 (file)
@@ -90,7 +90,7 @@ else()
 
   # Necessary when linking a static librtmp
   find_package(OpenSSL)
-  if(OPENSSL_FOUND)
+  if(OpenSSL_FOUND)
     list(APPEND _librtmp_LIBRARIES OpenSSL::SSL OpenSSL::Crypto)
   endif()
 endif()