From f0a5b5613b004423cd9f8310d7fe61bad0ae19e0 Mon Sep 17 00:00:00 2001 From: Kotaro Yoshimoto Date: Thu, 4 Jul 2024 17:04:04 +0900 Subject: [PATCH] fix headers destination installed by ament_auto_package Signed-off-by: Kotaro Yoshimoto --- ament_cmake_auto/cmake/ament_auto_package.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ament_cmake_auto/cmake/ament_auto_package.cmake b/ament_cmake_auto/cmake/ament_auto_package.cmake index 99187bad..f6e53a7a 100644 --- a/ament_cmake_auto/cmake/ament_auto_package.cmake +++ b/ament_cmake_auto/cmake/ament_auto_package.cmake @@ -62,7 +62,7 @@ macro(ament_auto_package) # export and install include directory of this package if it has one if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/include") ament_export_include_directories("include") - install(DIRECTORY include/ DESTINATION include) + install(DIRECTORY include/ DESTINATION include/${PROJECT_NAME}) endif() # export and install all libraries