Skip to content

Commit

Permalink
fix 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Shen committed Aug 6, 2024
1 parent 23e4f17 commit 977e98c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,17 @@ catkin_package(CATKIN_DEPENDS
include_directories(
include
${catkin_INCLUDE_DIRS}
${YAML_CPP_INCLUDE_DIR}
)

add_executable(can_receive_node src/can_receive.cpp src/can_receive_node.cpp)
target_link_libraries(can_receive_node ${catkin_LIBRARIES})
target_link_libraries(can_receive_node ${catkin_LIBRARIES} yaml-cpp)

add_executable(can_send_node src/can_send.cpp src/can_send_node.cpp)
target_link_libraries(can_send_node ${catkin_LIBRARIES})

add_executable(imu_convert_node src/imu_convert.cpp src/imu_convert_node.cpp)
target_link_libraries(imu_convert_node ${catkin_LIBRARIES})

include_directories(/usr/local/include/yaml-cpp)
target_link_libraries(can_receive_node /usr/local/lib/libyaml-cpp.a)
# include_directories(/usr/local/include/yaml-cpp)
# target_link_libraries(can_receive_node /usr/local/lib/libyaml-cpp.a)

0 comments on commit 977e98c

Please sign in to comment.