aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <[email protected]>2013-03-06 23:26:12 +0000
committerMark Brand <[email protected]>2013-03-07 17:10:35 +0000
commitfb29ccbde7ce38aac2622ad108474cf78cb06329 (patch)
treefe29f14f977081c24e6387da9c7eee5e0eddf468
parentFixed compilation warnings. (diff)
downloadvmime-fb29ccbde7ce38aac2622ad108474cf78cb06329.tar.gz
vmime-fb29ccbde7ce38aac2622ad108474cf78cb06329.zip
link winsock for static builds
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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()