summaryrefslogtreecommitdiffstats
path: root/tests/Network
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-04 23:34:54 +0200
committerpeterbell10 <peterbell10@live.co.uk>2019-09-04 23:34:54 +0200
commitf021e2fe22fab34a48bedefe3f19533fa60754ff (patch)
tree182543d16d4ab0c1206dcdbd9e56e1ed2879c0b0 /tests/Network
parentAdded a basic PalettedBlockArea implementation (#4377) (diff)
downloadcuberite-f021e2fe22fab34a48bedefe3f19533fa60754ff.tar
cuberite-f021e2fe22fab34a48bedefe3f19533fa60754ff.tar.gz
cuberite-f021e2fe22fab34a48bedefe3f19533fa60754ff.tar.bz2
cuberite-f021e2fe22fab34a48bedefe3f19533fa60754ff.tar.lz
cuberite-f021e2fe22fab34a48bedefe3f19533fa60754ff.tar.xz
cuberite-f021e2fe22fab34a48bedefe3f19533fa60754ff.tar.zst
cuberite-f021e2fe22fab34a48bedefe3f19533fa60754ff.zip
Diffstat (limited to 'tests/Network')
-rw-r--r--tests/Network/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Network/CMakeLists.txt b/tests/Network/CMakeLists.txt
index 84c49bfed..0cc75f735 100644
--- a/tests/Network/CMakeLists.txt
+++ b/tests/Network/CMakeLists.txt
@@ -60,8 +60,10 @@ add_library(Network
)
target_link_libraries(Network event_core event_extra fmt::fmt mbedtls)
-if (MSVC)
+if (WIN32)
target_link_libraries(Network ws2_32.lib)
+else()
+ target_link_libraries(Network event_pthreads_static)
endif()