Skip to content

Commit

Permalink
Fix issue #15, removed ROS2 export dependency of internal sick_locali…
Browse files Browse the repository at this point in the history
…zation_lib
  • Loading branch information
rostest committed Aug 17, 2023
1 parent 607108f commit aa000b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ if(ROS_VERSION EQUAL 1)
install(DIRECTORY include/${PROJECT_NAME}/ DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} FILES_MATCHING PATTERN "*.h*")
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
elseif(ROS_VERSION EQUAL 2)
ament_export_dependencies(sick_localization_lib rclcpp geometry_msgs nav_msgs sensor_msgs std_msgs tf2_ros)
ament_export_include_directories(include/${PROJECT_NAME}/)
ament_export_libraries(sick_localization_lib sick_lidar_localization_main)
# ament_export_dependencies(sick_localization_lib rclcpp geometry_msgs nav_msgs sensor_msgs std_msgs tf2_ros)
# ament_export_include_directories(include/${PROJECT_NAME}/)
# ament_export_libraries(sick_localization_lib sick_lidar_localization_main)
ament_package()
# install(TARGETS sick_localization_lib sick_lidar_localization_main gen_service_call lls_transform DESTINATION lib)
install(TARGETS sick_localization_lib sick_lidar_localization_main gen_service_call lls_transform DESTINATION lib/${PROJECT_NAME})
Expand Down

0 comments on commit aa000b5

Please sign in to comment.