Skip to content

Commit

Permalink
fix: missing cuda linking (?)
Browse files Browse the repository at this point in the history
Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
  • Loading branch information
knzo25 authored and technolojin committed Dec 27, 2024
1 parent 9b58df0 commit 5bfa282
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5bfa282

Please sign in to comment.