mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user