diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2013-08-04 21:20:48 -0400 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2013-08-04 21:20:48 -0400 |
commit | f03dc44e97e993024e42b3a0915de6401d9cecb0 (patch) | |
tree | c4fc26c796dba87028f8d91c4d8df9e029d295d5 /core/CMakeLists.txt | |
parent | f6207efef1cf94b6373a5c55cc654deafe63459a (diff) |
Fixed Windows build
Diffstat (limited to 'core/CMakeLists.txt')
-rw-r--r-- | core/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
18 | 18 | ||
19 | add_library(toxcore SHARED ${core_sources}) | 19 | add_library(toxcore SHARED ${core_sources}) |
20 | target_link_libraries(toxcore ${SODIUM_LIBRARY}) | 20 | target_link_libraries(toxcore ${SODIUM_LIBRARY}) |
21 | |||
22 | if(WIN32) | ||
23 | target_link_libraries(toxcore ws2_32) | ||
24 | endif() | ||