diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-04 18:26:04 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-04 18:26:04 -0700 |
commit | c1e4365d1d39876f5cb088d7850ae6a3b53d9833 (patch) | |
tree | c4fc26c796dba87028f8d91c4d8df9e029d295d5 /core | |
parent | f6207efef1cf94b6373a5c55cc654deafe63459a (diff) | |
parent | f03dc44e97e993024e42b3a0915de6401d9cecb0 (diff) |
Merge pull request #330 from nurupo/master
Fixed Windows build
Diffstat (limited to 'core')
-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() | ||