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)
|
||||
|
|
|
@ -533,6 +533,7 @@ if (ZEEK_STANDALONE)
|
|||
${bro_PLUGIN_LIBS}
|
||||
)
|
||||
target_link_libraries(zeek ${bro_PLUGIN_LINK_LIBS} ${zeekdeps} ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
|
||||
|
||||
# Export symbols from zeek executable for use by plugins
|
||||
set_target_properties(zeek PROPERTIES ENABLE_EXPORTS TRUE)
|
||||
|
||||
|
|
|
@ -13,3 +13,4 @@ bif_target(telemetry.bif)
|
|||
|
||||
bro_add_subdir_library(telemetry ${telemetry_SRCS})
|
||||
add_dependencies(bro_telemetry generate_outputs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue