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. --- src/OSSupport/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/OSSupport') diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt index 5513fe5c5..332b880ed 100644 --- a/src/OSSupport/CMakeLists.txt +++ b/src/OSSupport/CMakeLists.txt @@ -46,4 +46,8 @@ endif() if(NOT MSVC) add_library(OSSupport ${SRCS} ${HDRS}) target_link_libraries(OSSupport fmt::fmt) + + if(NOT WIN32) + target_link_libraries(OSSupport event_pthreads_static) + endif() endif() -- cgit v1.2.3