From ecb0ec821a70ac2227ed72f4e8f29d0ec9df9413 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Mon, 8 Aug 2016 15:45:29 +0300 Subject: [PATCH] cmake/win32: do not compile evthread_win32 on -DEVENT__DISABLE_THREAD_SUPPORT=ON There is duplicated "evthread_win32.c" appending to ${SRC_CORE} list, leave only one that under if EVENT__DISABLE_THREAD_SUPPORT Fixes: https://ci.appveyor.com/project/azat/libevent/build/2.1.5.96/job/44q3rgifasny7gek --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 690615ef..22160b96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -730,7 +730,6 @@ if(WIN32) buffer_iocp.c bufferevent_async.c event_iocp.c - evthread_win32.c win32select.c) list(APPEND HDR_PRIVATE WIN32-Code/getopt.h) -- 2.40.0