diff --git a/CMakeLists.txt b/CMakeLists.txt index f37f5757ba..209d257189 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -313,6 +313,11 @@ add_zeek_dynamic_plugin_build_interface_include_directories( ${CMAKE_BINARY_DIR}/auxil/binpac/lib ${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 $) + # Convenience function for adding an OBJECT library that feeds directly into the # main target(s). #