From 35a0d92d3c78f6e22c578de309abef8b0502f33a Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Fri, 1 Mar 2019 14:19:35 -0800 Subject: [PATCH] Add rmw includes to cppcheck Signed-off-by: Shane Loretz --- rmw_opensplice_cpp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rmw_opensplice_cpp/CMakeLists.txt b/rmw_opensplice_cpp/CMakeLists.txt index 4cf49647..c4ef5f3f 100644 --- a/rmw_opensplice_cpp/CMakeLists.txt +++ b/rmw_opensplice_cpp/CMakeLists.txt @@ -103,6 +103,7 @@ register_rmw_implementation( if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED) + set(ament_cmake_cppcheck_ADDITIONAL_INCLUDE_DIRS ${rmw_INCLUDE_DIRS}) ament_lint_auto_find_test_dependencies() endif()