diff options
author | Mattes D <github@xoft.cz> | 2015-01-12 15:45:30 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-22 20:12:50 +0100 |
commit | ddb1818dd54d82e19e7f629e6a729bccb68bfcf1 (patch) | |
tree | 1508749651cc4291a92156301772ff6c5552b38a /tests | |
parent | cNetwork: Implemented connection shutdown and close. (diff) | |
download | cuberite-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 'tests')
-rw-r--r-- | tests/Network/CMakeLists.txt | 8 |
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) |