mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
correctly depend on yaml-cpp
This commit is contained in:
@@ -12,6 +12,7 @@ find_package(catkin REQUIRED COMPONENTS
|
|||||||
ur_rtde_driver
|
ur_rtde_driver
|
||||||
)
|
)
|
||||||
find_package(Eigen3 REQUIRED)
|
find_package(Eigen3 REQUIRED)
|
||||||
|
find_package(yaml-cpp REQUIRED)
|
||||||
|
|
||||||
## System dependencies are found with CMake's conventions
|
## System dependencies are found with CMake's conventions
|
||||||
# find_package(Boost REQUIRED COMPONENTS system)
|
# find_package(Boost REQUIRED COMPONENTS system)
|
||||||
@@ -108,7 +109,8 @@ catkin_package(
|
|||||||
CATKIN_DEPENDS
|
CATKIN_DEPENDS
|
||||||
roscpp
|
roscpp
|
||||||
ur_rtde_driver
|
ur_rtde_driver
|
||||||
# DEPENDS Eigen3
|
DEPENDS
|
||||||
|
yaml-cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
###########
|
###########
|
||||||
@@ -180,7 +182,7 @@ if (CATKIN_ENABLE_TESTING)
|
|||||||
catkin_add_gtest(calibration_test
|
catkin_add_gtest(calibration_test
|
||||||
test/calibration_test.cpp
|
test/calibration_test.cpp
|
||||||
src/calibration.cpp)
|
src/calibration.cpp)
|
||||||
target_link_libraries(calibration_test ${catkin_LIBRARIES})
|
target_link_libraries(calibration_test ${catkin_LIBRARIES} yaml-cpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS calibration_correction RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
|
install(TARGETS calibration_correction RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
|
||||||
|
|||||||
@@ -51,6 +51,7 @@
|
|||||||
<buildtool_depend>catkin</buildtool_depend>
|
<buildtool_depend>catkin</buildtool_depend>
|
||||||
<depend>roscpp</depend>
|
<depend>roscpp</depend>
|
||||||
<depend>ur_rtde_driver</depend>
|
<depend>ur_rtde_driver</depend>
|
||||||
|
<depend>yaml-cpp</depend>
|
||||||
|
|
||||||
|
|
||||||
<test_depend>rosunit</test_depend>
|
<test_depend>rosunit</test_depend>
|
||||||
|
|||||||
Reference in New Issue
Block a user