Skip to content

Commit

Permalink
fix CMakeList
Browse files Browse the repository at this point in the history
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
  • Loading branch information
Owen-Liuyuxuan committed Nov 28, 2024
1 parent 580b417 commit 6835e0f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions nebula_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ target_link_libraries(hesai_ros_offline_extract_pcd PUBLIC
add_executable(hesai_ros_offline_extract_pcd_node
${CMAKE_CURRENT_SOURCE_DIR}/src/hesai/hesai_ros_offline_extract_pcd_main.cpp
)
list(APPEND ${PROJECT_NAME}_EXECUTABLES hesai_ros_offline_extract_pcd_node)

target_link_libraries(hesai_ros_offline_extract_pcd_node PUBLIC
hesai_ros_offline_extract_pcd
Expand All @@ -66,7 +65,6 @@ target_link_libraries(hesai_ros_offline_extract_bag_pcd PUBLIC
add_executable(hesai_ros_offline_extract_bag_pcd_node
${CMAKE_CURRENT_SOURCE_DIR}/src/hesai/hesai_ros_offline_extract_bag_pcd_main.cpp
)
list(APPEND ${PROJECT_NAME}_EXECUTABLES hesai_ros_offline_extract_bag_pcd_node)

target_link_libraries(hesai_ros_offline_extract_bag_pcd_node PUBLIC
hesai_ros_offline_extract_bag_pcd
Expand All @@ -84,7 +82,6 @@ target_link_libraries(velodyne_ros_offline_extract_bag_pcd PUBLIC
add_executable(velodyne_ros_offline_extract_bag_pcd_node
${CMAKE_CURRENT_SOURCE_DIR}/src/velodyne/velodyne_ros_offline_extract_bag_pcd_main.cpp
)
list(APPEND ${PROJECT_NAME}_EXECUTABLES velodyne_ros_offline_extract_bag_pcd_node)

target_link_libraries(velodyne_ros_offline_extract_bag_pcd_node PUBLIC
velodyne_ros_offline_extract_bag_pcd
Expand All @@ -95,6 +92,13 @@ if(BUILD_TESTING)
ament_lint_auto_find_test_dependencies()
endif()

install(TARGETS hesai_ros_offline_extract_pcd_node
hesai_ros_offline_extract_bag_pcd_node
velodyne_ros_offline_extract_bag_pcd_node
DESTINATION lib/${PROJECT_NAME}
)


ament_auto_package(
INSTALL_TO_SHARE
launch
Expand Down

0 comments on commit 6835e0f

Please sign in to comment.