aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-03-07 18:38:45 +0000
committerVincent Richard <[email protected]>2013-03-07 18:38:45 +0000
commit4c002172847719f354f69274e0e559c1c5212637 (patch)
treefe29f14f977081c24e6387da9c7eee5e0eddf468
parentFixed compilation warnings. (diff)
parentlink winsock for static builds (diff)
downloadvmime-4c002172847719f354f69274e0e559c1c5212637.tar.gz
vmime-4c002172847719f354f69274e0e559c1c5212637.zip
Merge pull request #33 from mabrand/fix-static-ws
link winsock for static builds
Diffstat (limited to '')
-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()