mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Update CAF-finding logic
This commit is contained in:
parent
509efc58db
commit
4243a5d5b0
1 changed files with 4 additions and 3 deletions
|
@ -95,11 +95,12 @@ FindRequiredPackage(OpenSSL)
|
||||||
FindRequiredPackage(BIND)
|
FindRequiredPackage(BIND)
|
||||||
FindRequiredPackage(ZLIB)
|
FindRequiredPackage(ZLIB)
|
||||||
|
|
||||||
find_package(CAF COMPONENTS core io)
|
find_package(CAF COMPONENTS core io openssl)
|
||||||
if (CAF_FOUND)
|
if (CAF_FOUND)
|
||||||
|
# e.g. if not using embedded CAF, then need to know where to look
|
||||||
|
# for CAF headers since that may differ from where Broker headers
|
||||||
|
# are found (and including a Broker header may pull in CAF headers).
|
||||||
include_directories(BEFORE ${CAF_INCLUDE_DIRS})
|
include_directories(BEFORE ${CAF_INCLUDE_DIRS})
|
||||||
else ()
|
|
||||||
list(APPEND MISSING_PREREQ_DESCS CAF)
|
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT BinPAC_ROOT_DIR AND
|
if (NOT BinPAC_ROOT_DIR AND
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue