aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-03-08 14:05:41 +0000
committerAndreas Schneider <mail@cynapses.org>2009-03-08 14:05:41 +0000
commitb4cebfb03d1b234e0287397d0ef96d335f5999ac (patch)
tree80839bf162b97664dd66a4dc49457d81646b1ae3 /libssh
parent461d9413d3c32066953f4ed97b8d4d8fc6f169b0 (diff)
downloadlibssh-b4cebfb03d1b234e0287397d0ef96d335f5999ac.tar.gz
libssh-b4cebfb03d1b234e0287397d0ef96d335f5999ac.tar.xz
libssh-b4cebfb03d1b234e0287397d0ef96d335f5999ac.zip
Fix compilation and installation of libssh.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@250 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh')
-rw-r--r--libssh/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt
index 62bf4b92..62ee95ef 100644
--- a/libssh/CMakeLists.txt
+++ b/libssh/CMakeLists.txt
@@ -22,6 +22,13 @@ set(LIBSSH_LINK_LIBRARIES
${ZLIB_LIBRARIES}
)
+if (WIN32)
+ set(LIBSSH_LINK_LIBRARIES
+ ${LIBSSH_LINK_LIBRARIES}
+ ws2_32
+ )
+endif (WIN32)
+
if (CRYPTO_LIBRARY)
set(LIBSSH_PRIVATE_INCLUDE_DIRS
${LIBSSH_PRIVATE_INCLUDE_DIRS}