mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
iosource: Specify libkqueue dependency for subdir lib
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.
This commit is contained in:
parent
d1e7c8b81c
commit
4e20a484ea
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
zeek_add_subdir_library(
|
zeek_add_subdir_library(
|
||||||
iosource
|
iosource
|
||||||
|
INCLUDE_DIRS
|
||||||
|
${LIBKQUEUE_INCLUDE_DIRS}
|
||||||
|
DEPENDENCIES
|
||||||
|
${LIBKQUEUE_LIBRARIES}
|
||||||
SOURCES
|
SOURCES
|
||||||
BPF_Program.cc
|
BPF_Program.cc
|
||||||
Component.cc
|
Component.cc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue