mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fixed extern C issue with windows headers, fixed a GEN-ZAM regex issue, fixd compilation with c-ares
This commit is contained in:
parent
98a0e242ad
commit
0c61bcbfcd
3 changed files with 5 additions and 2 deletions
|
@ -90,9 +90,10 @@ if ( MSVC )
|
|||
|
||||
# Set CAres
|
||||
find_package(c-ares)
|
||||
set(HAVE_CARES true)
|
||||
set(zeekdeps ${zeekdeps} ${c-ares_LIBRARIES})
|
||||
set(HAVE_CARES true) # Disable FindCAres cmake file
|
||||
include_directories(BEFORE ${c-ares_INCLUDE_DIRS})
|
||||
set(zeekdeps ${zeekdeps} ${c-ares_LIBRARIES})
|
||||
add_definitions(-DCARES_STATICLIB)
|
||||
|
||||
add_subdirectory(auxil/libunistd)
|
||||
set(UNISTD_INCLUDES ${CMAKE_SOURCE_DIR}/auxil/libunistd/unistd ${CMAKE_SOURCE_DIR}/auxil/libunistd/regex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue