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:
parent
fc90f698b3
commit
897fec3a89
1 changed files with 6 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue