mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix overly specific include_directories usage
Calling `find_package(CAF)` puts all include directory paths into a single variable. Picking the paths individually is not only error prone and cumbersome, but can also lead to bulid errors. For example, when using a build directory for CAF_ROOT then CAF_INCLUDE_DIRS will have one extra path to find CAF's `config.hpp` (which is part of the build directory).
This commit is contained in:
parent
0a2d84284c
commit
68bb0e21a3
1 changed files with 1 additions and 3 deletions
|
@ -366,9 +366,7 @@ endif ()
|
|||
|
||||
# CAF headers aren't necessarily in same location as Broker headers and
|
||||
# inclusion of a Broker header may pull in CAF headers.
|
||||
include_directories(BEFORE ${CAF_INCLUDE_DIR_CORE})
|
||||
include_directories(BEFORE ${CAF_INCLUDE_DIR_IO})
|
||||
include_directories(BEFORE ${CAF_INCLUDE_DIR_OPENSSL})
|
||||
include_directories(BEFORE ${CAF_INCLUDE_DIRS})
|
||||
|
||||
add_subdirectory(aux/paraglob)
|
||||
set(zeekdeps ${zeekdeps} paraglob)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue