mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Have cmake use find_package for c-ares instead of FindCAres.cmake
This commit is contained in:
parent
79a5d0d4c2
commit
c1a7376def
1 changed files with 4 additions and 1 deletions
|
@ -1134,7 +1134,10 @@ include(GetArchitecture)
|
||||||
# value for HAVE_KQUEUE that was set during the libkqueue setup. We don't
|
# value for HAVE_KQUEUE that was set during the libkqueue setup. We don't
|
||||||
# pass the libkqueue information down to the c-ares cmake run so it won't
|
# pass the libkqueue information down to the c-ares cmake run so it won't
|
||||||
# have the paths or library when it builds.
|
# have the paths or library when it builds.
|
||||||
include(FindCAres)
|
find_package(c-ares CONFIG REQUIRED)
|
||||||
|
include_directories(BEFORE ${c-ares_INCLUDE_DIR})
|
||||||
|
set(zeekdeps ${zeekdeps} c-ares::cares)
|
||||||
|
|
||||||
include(FindKqueue)
|
include(FindKqueue)
|
||||||
|
|
||||||
include(FindPrometheusCpp)
|
include(FindPrometheusCpp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue