Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions canopen_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ find_package(rclcpp REQUIRED)
find_package(rclcpp_components REQUIRED)
find_package(rclcpp_lifecycle REQUIRED)
find_package(yaml_cpp_vendor REQUIRED)
find_package(yaml-cpp REQUIRED)
include(ConfigExtras.cmake)

set(dependencies
Expand Down Expand Up @@ -57,9 +58,13 @@ ament_target_dependencies(node_canopen_driver
rclcpp_lifecycle
lely_core_libraries
yaml_cpp_vendor
yaml-cpp
canopen_interfaces
Boost
)
target_link_libraries(node_canopen_driver
yaml-cpp::yaml-cpp
)

add_library(node_canopen_master
SHARED
Expand All @@ -77,11 +82,12 @@ ament_target_dependencies(node_canopen_master
rclcpp
rclcpp_lifecycle
lely_core_libraries
yaml_cpp_vendor
canopen_interfaces
Boost
)

target_link_libraries(node_canopen_master
yaml-cpp::yaml-cpp
)

add_library(device_container
SHARED
Expand All @@ -107,7 +113,7 @@ ament_target_dependencies(device_container
target_link_libraries(device_container
node_canopen_master
node_canopen_driver
yaml-cpp
yaml-cpp::yaml-cpp
)

add_executable(device_container_node
Expand Down