mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
CMakeLists: Add rapidjson/include to zeek_dynamic_plugin_base
threading/formatters/JSON.h has a rapidjson include. Extend the include directories of external plugins so they are setup to find these in Zeek's install tree. Relates to #3090
This commit is contained in:
parent
f64304067b
commit
2c4b2306fa
1 changed files with 5 additions and 0 deletions
|
@ -313,6 +313,11 @@ add_zeek_dynamic_plugin_build_interface_include_directories(
|
||||||
${CMAKE_BINARY_DIR}/auxil/binpac/lib
|
${CMAKE_BINARY_DIR}/auxil/binpac/lib
|
||||||
${CMAKE_BINARY_DIR}/auxil/broker/include)
|
${CMAKE_BINARY_DIR}/auxil/broker/include)
|
||||||
|
|
||||||
|
# threading/formatters/JSON.h includes rapidjson headers and may be used
|
||||||
|
# by external plugins, extend the include path.
|
||||||
|
target_include_directories(zeek_dynamic_plugin_base SYSTEM
|
||||||
|
INTERFACE $<INSTALL_INTERFACE:include/zeek/3rdparty/rapidjson/include>)
|
||||||
|
|
||||||
# Convenience function for adding an OBJECT library that feeds directly into the
|
# Convenience function for adding an OBJECT library that feeds directly into the
|
||||||
# main target(s).
|
# main target(s).
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue