summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-12 15:45:30 +0100
committerMattes D <github@xoft.cz>2015-01-22 20:12:50 +0100
commitddb1818dd54d82e19e7f629e6a729bccb68bfcf1 (patch)
tree1508749651cc4291a92156301772ff6c5552b38a /tests
parentcNetwork: Implemented connection shutdown and close. (diff)
downloadcuberite-ddb1818dd54d82e19e7f629e6a729bccb68bfcf1.tar
cuberite-ddb1818dd54d82e19e7f629e6a729bccb68bfcf1.tar.gz
cuberite-ddb1818dd54d82e19e7f629e6a729bccb68bfcf1.tar.bz2
cuberite-ddb1818dd54d82e19e7f629e6a729bccb68bfcf1.tar.lz
cuberite-ddb1818dd54d82e19e7f629e6a729bccb68bfcf1.tar.xz
cuberite-ddb1818dd54d82e19e7f629e6a729bccb68bfcf1.tar.zst
cuberite-ddb1818dd54d82e19e7f629e6a729bccb68bfcf1.zip
Diffstat (limited to '')
-rw-r--r--tests/Network/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/Network/CMakeLists.txt b/tests/Network/CMakeLists.txt
index a63ce7dfe..9d0dcdc24 100644
--- a/tests/Network/CMakeLists.txt
+++ b/tests/Network/CMakeLists.txt
@@ -6,7 +6,13 @@ include_directories(${CMAKE_SOURCE_DIR}/src/)
include_directories(${CMAKE_SOURCE_DIR}/lib/libevent/include)
add_definitions(-DTEST_GLOBALS=1)
-add_library(Network ${CMAKE_SOURCE_DIR}/src/OSSupport/Network.cpp ${CMAKE_SOURCE_DIR}/src/OSSupport/Event.cpp ${CMAKE_SOURCE_DIR}/src/StringUtils.cpp)
+add_library(Network
+ ${CMAKE_SOURCE_DIR}/src/OSSupport/Network.cpp
+ ${CMAKE_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp
+ ${CMAKE_SOURCE_DIR}/src/OSSupport/Event.cpp
+ ${CMAKE_SOURCE_DIR}/src/StringUtils.cpp
+)
+
target_link_libraries(Network event_core event_extra)
if (MSVC)
target_link_libraries(Network ws2_32.lib)