cmake: replace deprecated OPENSSL_FOUND with OpenSSL_FOUND

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
This commit is contained in:
Viktor Szakats
2025-12-17 15:57:10 +01:00
parent 14d5b6c7a7
commit 9cd827a226

View 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()