From: Azat Khuzhin Date: Mon, 8 Aug 2016 12:45:29 +0000 (+0300) Subject: cmake/win32: do not compile evthread_win32 on -DEVENT__DISABLE_THREAD_SUPPORT=ON X-Git-Tag: release-2.1.6-beta~15^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecb0ec821a70ac2227ed72f4e8f29d0ec9df9413;p=libevent 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 --- 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)