From 5bfa282ea365c08dafbc9869502120de5e770eec Mon Sep 17 00:00:00 2001 From: Kenzo Lobos-Tsunekawa Date: Wed, 4 Dec 2024 10:49:09 +0900 Subject: [PATCH] fix: missing cuda linking (?) Signed-off-by: Kenzo Lobos-Tsunekawa --- .../autoware_probabilistic_occupancy_grid_map/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/perception/autoware_probabilistic_occupancy_grid_map/CMakeLists.txt b/perception/autoware_probabilistic_occupancy_grid_map/CMakeLists.txt index 58941c72fa0ad..04415f898e453 100644 --- a/perception/autoware_probabilistic_occupancy_grid_map/CMakeLists.txt +++ b/perception/autoware_probabilistic_occupancy_grid_map/CMakeLists.txt @@ -35,6 +35,10 @@ cuda_add_library(${PROJECT_NAME}_cuda SHARED lib/utils/utils_kernel.cu ) +target_link_libraries(${PROJECT_NAME}_cuda + ${CUDA_LIBRARIES} +) + ament_auto_add_library(${PROJECT_NAME}_common SHARED lib/costmap_2d/occupancy_grid_map_base.cpp lib/updater/binary_bayes_filter_updater.cpp @@ -127,6 +131,7 @@ if(BUILD_TESTING) lib/fusion_policy/fusion_policy.cpp ) target_link_libraries(test_utils + ${CUDA_LIBRARIES} ${PCL_LIBRARIES} ${PROJECT_NAME}_common ${PROJECT_NAME}_cuda