mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00

Since a while my build has been spilling the following warnings: [18/1687] Building C object auxil/c-ares/src/lib/CMakeFiles/c-ares.dir/ares__addrinfo2hostent.c.o cc1: warning: zeek/prod-build/libkqueue-build/include: No such file or directory [-Wmissing-include-dirs] My take is that FindKqueue extends the include directories globally and tickles this warning because c-ares is built first. Grepping around, <sys/event.h> is only included in iosource/Manager.cc, so we should be able to reduce the exposure just to the iosource subdir.
15 lines
262 B
CMake
15 lines
262 B
CMake
zeek_add_subdir_library(
|
|
iosource
|
|
INCLUDE_DIRS
|
|
${LIBKQUEUE_INCLUDE_DIRS}
|
|
DEPENDENCIES
|
|
${LIBKQUEUE_LIBRARIES}
|
|
SOURCES
|
|
BPF_Program.cc
|
|
Component.cc
|
|
Manager.cc
|
|
Packet.cc
|
|
PktDumper.cc
|
|
PktSrc.cc)
|
|
|
|
add_subdirectory(pcap)
|