1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

cmake mingw no need for websock w32

2.  Comment out this line

http://git.warmcat.com/cgi-bin/cgit/libwebsockets/tree/CMakeLists.txt#n279

the file websock-w32.c is already compiled indirectly from libwebsockets.c

Signed-off-by: Arokux B <arokux@gmail.com>
This commit is contained in:
Arokux B 2013-02-28 09:25:02 +08:00 committed by Andy Green
parent fc90f698b3
commit 897fec3a89

View file

@ -274,12 +274,16 @@ if (WIN32)
${WIN32_HELPERS_PATH}/websock-w32.h
${WIN32_HELPERS_PATH}/gettimeofday.h
)
if (MINGW)
list(APPEND SOURCES
${WIN32_HELPERS_PATH}/gettimeofday.c
)
else()
list(APPEND SOURCES
${WIN32_HELPERS_PATH}/websock-w32.c
${WIN32_HELPERS_PATH}/gettimeofday.c
)
endif()
include_directories(${WIN32_HELPERS_PATH})
else()
# Unix.