From afc1161b1deb61be730b2120c45b695b8e7294b6 Mon Sep 17 00:00:00 2001 From: Felix Mauch Date: Mon, 27 May 2019 18:05:40 +0200 Subject: [PATCH] correctly depend on yaml-cpp --- ur_calibration/CMakeLists.txt | 6 ++++-- ur_calibration/package.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ur_calibration/CMakeLists.txt b/ur_calibration/CMakeLists.txt index 7da1dd6..59508cd 100644 --- a/ur_calibration/CMakeLists.txt +++ b/ur_calibration/CMakeLists.txt @@ -12,6 +12,7 @@ find_package(catkin REQUIRED COMPONENTS ur_rtde_driver ) find_package(Eigen3 REQUIRED) +find_package(yaml-cpp REQUIRED) ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) @@ -108,7 +109,8 @@ catkin_package( CATKIN_DEPENDS roscpp ur_rtde_driver -# DEPENDS Eigen3 + DEPENDS + yaml-cpp ) ########### @@ -180,7 +182,7 @@ if (CATKIN_ENABLE_TESTING) catkin_add_gtest(calibration_test test/calibration_test.cpp src/calibration.cpp) - target_link_libraries(calibration_test ${catkin_LIBRARIES}) + target_link_libraries(calibration_test ${catkin_LIBRARIES} yaml-cpp) endif() install(TARGETS calibration_correction RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) diff --git a/ur_calibration/package.xml b/ur_calibration/package.xml index 698e83f..e15e130 100644 --- a/ur_calibration/package.xml +++ b/ur_calibration/package.xml @@ -51,6 +51,7 @@ catkin roscpp ur_rtde_driver + yaml-cpp rosunit