diff options
author | Mark Brand <[email protected]> | 2013-03-06 23:26:12 +0000 |
---|---|---|
committer | Mark Brand <[email protected]> | 2013-03-07 17:10:35 +0000 |
commit | fb29ccbde7ce38aac2622ad108474cf78cb06329 (patch) | |
tree | fe29f14f977081c24e6387da9c7eee5e0eddf468 | |
parent | Fixed compilation warnings. (diff) | |
download | vmime-fb29ccbde7ce38aac2622ad108474cf78cb06329.tar.gz vmime-fb29ccbde7ce38aac2622ad108474cf78cb06329.zip |
link winsock for static builds
-rw-r--r-- | CMakeLists.txt | 2 |
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() |