summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-04-06 22:23:43 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-04-06 22:23:43 +0200
commitbda836d74461b3c06eaeeb906fa6197e5bde42e7 (patch)
tree8e71624844086e7ffa33ae329cdfab069deaba29
parentc8c26475553a6996d9d291d0b87fe9730f422083 (diff)
Fix building on win32/vs7
-rw-r--r--libssh/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt
index 62846087..02b49a0b 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