From fb29ccbde7ce38aac2622ad108474cf78cb06329 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 7 Mar 2013 00:26:12 +0100 Subject: [PATCH] link winsock for static builds --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 507cf3af..918479a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -630,6 +630,8 @@ IF(WIN32) ${TARGET_LINK_LIBRARIES} "ws2_32" ) + ELSE() + SET(VMIME_PKGCONFIG_LIBS "${VMIME_PKGCONFIG_LIBS} -lws2_32") ENDIF() ENDIF()