diff options
author | Vincent Richard <[email protected]> | 2013-03-07 18:38:45 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-03-07 18:38:45 +0000 |
commit | 4c002172847719f354f69274e0e559c1c5212637 (patch) | |
tree | fe29f14f977081c24e6387da9c7eee5e0eddf468 | |
parent | Fixed compilation warnings. (diff) | |
parent | link winsock for static builds (diff) | |
download | vmime-4c002172847719f354f69274e0e559c1c5212637.tar.gz vmime-4c002172847719f354f69274e0e559c1c5212637.zip |
Merge pull request #33 from mabrand/fix-static-ws
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() |