From b2b7bc3b772e013a1c258dfc8d326d2f15e569a3 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 6 Apr 2010 22:23:43 +0200 Subject: [PATCH] Fix building on win32/vs7 --- libssh/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt index 0b3eaf0d..10dd8459 100644 --- a/libssh/CMakeLists.txt +++ b/libssh/CMakeLists.txt @@ -43,7 +43,7 @@ if (HAVE_LIBSOCKET) ) endif (HAVE_LIBSOCKET) -if (CRYPTO_LIBRARY) +if (OPENSSL_LIBRARIES) set(LIBSSH_PRIVATE_INCLUDE_DIRS ${LIBSSH_PRIVATE_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIRS} @@ -51,9 +51,9 @@ if (CRYPTO_LIBRARY) set(LIBSSH_LINK_LIBRARIES ${LIBSSH_LINK_LIBRARIES} - ${CRYPTO_LIBRARY} + ${OPENSSL_LIBRARIES} ) -endif (CRYPTO_LIBRARY) +endif (OPENSSL_LIBRARIES) if (GCRYPT_LIBRARY) set(LIBSSH_PRIVATE_INCLUDE_DIRS