diff --git a/cmake/ament_build.cmake b/cmake/ament_build.cmake index 9de2fd099..2105b64c7 100644 --- a/cmake/ament_build.cmake +++ b/cmake/ament_build.cmake @@ -4,6 +4,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CONFIG_PATH}") if(BTCPP_GROOT_INTERFACE) find_package(ZeroMQ REQUIRED) + list(APPEND BTCPP_EXTRA_INCLUDE_DIRS ${ZeroMQ_INCLUDE_DIRS}) endif() if(BTCPP_SQLITE_LOGGING)