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
This commit is contained in:
Azat Khuzhin 2016-08-08 15:45:29 +03:00
parent e9acc441b7
commit ecb0ec821a

View File

@ -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)