diff options
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/CMakeLists.txt | 7 |
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} |