Setting AMENT_CMAKE_CPPCHECK_ADDITIONAL_INCLUDE_DIRS with lttng

Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
Stephen Brawner 2020-02-28 17:10:40 +00:00 committed by Christophe Bedard
parent d3bc0e87d1
commit b9838903a1

View file

@ -102,6 +102,8 @@ else()
endif() endif()
if(BUILD_TESTING) if(BUILD_TESTING)
set(ament_cmake_cppcheck_ADDITIONAL_INCLUDE_DIRS ${LTTNG_INCLUDE_DIRS})
find_package(ament_cmake_gtest REQUIRED) find_package(ament_cmake_gtest REQUIRED)
find_package(ament_lint_auto REQUIRED) find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies() ament_lint_auto_find_test_dependencies()