mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 10:40:28 +09:00
Revert "cmake: Use OPENSSL_CRYPTO_LIBRARIES CMake variable when linking against OpenSSL"
This reverts commit 026879e9f0.
This commit is contained in:
@@ -16,7 +16,7 @@ if (WIN32)
|
||||
)
|
||||
endif (WIN32)
|
||||
|
||||
if (OPENSSL_CRYPTO_LIBRARIES)
|
||||
if (OPENSSL_CRYPTO_LIBRARY)
|
||||
set(LIBSSH_PRIVATE_INCLUDE_DIRS
|
||||
${LIBSSH_PRIVATE_INCLUDE_DIRS}
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
@@ -24,9 +24,9 @@ if (OPENSSL_CRYPTO_LIBRARIES)
|
||||
|
||||
set(LIBSSH_LINK_LIBRARIES
|
||||
${LIBSSH_LINK_LIBRARIES}
|
||||
${OPENSSL_CRYPTO_LIBRARIES}
|
||||
${OPENSSL_CRYPTO_LIBRARY}
|
||||
)
|
||||
endif (OPENSSL_CRYPTO_LIBRARIES)
|
||||
endif (OPENSSL_CRYPTO_LIBRARY)
|
||||
|
||||
if (MBEDTLS_CRYPTO_LIBRARY)
|
||||
set(LIBSSH_PRIVATE_INCLUDE_DIRS
|
||||
|
||||
Reference in New Issue
Block a user