From f03dc44e97e993024e42b3a0915de6401d9cecb0 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 4 Aug 2013 21:20:48 -0400 Subject: Fixed Windows build --- core/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core') diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 5bd496cb..c7016a49 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -18,3 +18,7 @@ set(core_sources add_library(toxcore SHARED ${core_sources}) target_link_libraries(toxcore ${SODIUM_LIBRARY}) + +if(WIN32) + target_link_libraries(toxcore ws2_32) +endif() -- cgit v1.2.3