Setting AMENT_CMAKE_CPPCHECK_ADDITIONAL_INCLUDE_DIRS with lttng
Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
parent
d3bc0e87d1
commit
b9838903a1
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@ else()
|
|||
endif()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
set(ament_cmake_cppcheck_ADDITIONAL_INCLUDE_DIRS ${LTTNG_INCLUDE_DIRS})
|
||||
|
||||
find_package(ament_cmake_gtest REQUIRED)
|
||||
find_package(ament_lint_auto REQUIRED)
|
||||
ament_lint_auto_find_test_dependencies()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue