]> granicus.if.org Git - libevent/commitdiff
cmake/win32: do not compile evthread_win32 on -DEVENT__DISABLE_THREAD_SUPPORT=ON
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 8 Aug 2016 12:45:29 +0000 (15:45 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 9 Aug 2016 12:47:58 +0000 (15:47 +0300)
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

index 690615ef3697514a9d9bbcf8ce8768f6e24de76e..22160b967cb131d0f59862b21ed598217fd93158 100644 (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)