From b4cebfb03d1b234e0287397d0ef96d335f5999ac Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 8 Mar 2009 14:05:41 +0000 Subject: Fix compilation and installation of libssh. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@250 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libssh') 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} -- cgit v1.2.3