mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
cmake: Fixed openssl detection.
Thanks to Xi Wang for the patch.
This commit is contained in:
@@ -82,9 +82,9 @@ endif (UNIX)
|
||||
set(LIBSSH_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "libssh required system libraries")
|
||||
|
||||
# LIBRARIES
|
||||
if (CRYPTO_FOUND)
|
||||
if (OPENSSL_FOUND)
|
||||
set(HAVE_LIBCRYPTO 1)
|
||||
endif (CRYPTO_FOUND)
|
||||
endif (OPENSSL_FOUND)
|
||||
|
||||
if (GCRYPT_FOUND)
|
||||
set(HAVE_LIBGCRYPT 1)
|
||||
|
||||
Reference in New Issue
Block a user