From f021e2fe22fab34a48bedefe3f19533fa60754ff Mon Sep 17 00:00:00 2001 From: Mattes D Date: Wed, 4 Sep 2019 23:34:54 +0200 Subject: Updated LibEvent to release 2.1.11-stable. (#4383) This finally restores my ability to compile on Windows and Linux from the same source folder (on a network drive). LibEvent broke this long ago by writing a config file into the source folder, rather than build folder. Now it's finally fixed. --- tests/Network/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/Network') 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() -- cgit v1.2.3