From 3e82e2b5fd0838870dcef85cfa2dabc2765c9edf Mon Sep 17 00:00:00 2001 From: Kurtis Thrush Date: Mon, 11 Mar 2024 09:54:38 -0400 Subject: [PATCH] build: export include directories --- canopen_fake_slaves/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/canopen_fake_slaves/CMakeLists.txt b/canopen_fake_slaves/CMakeLists.txt index c342f411..7a3034c7 100644 --- a/canopen_fake_slaves/CMakeLists.txt +++ b/canopen_fake_slaves/CMakeLists.txt @@ -66,6 +66,11 @@ install(DIRECTORY DESTINATION share/${PROJECT_NAME}/config/ ) +install(DIRECTORY + include/ + DESTINATION include +) + if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED) # the following line skips the linter which checks for copyrights @@ -78,6 +83,10 @@ if(BUILD_TESTING) ament_lint_auto_find_test_dependencies() endif() +ament_export_include_directories( + include +) + ament_export_dependencies( ${dependencies} )