From 2bd115fad60b89692ba5af54a681bc17076f1e18 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Thu, 30 Nov 2017 11:26:23 +0100 Subject: [PATCH] Workaround for problem in yarpWholeBodyInterface CMake config files --- toolbox/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolbox/CMakeLists.txt b/toolbox/CMakeLists.txt index 52c60000f..e65a3fb57 100755 --- a/toolbox/CMakeLists.txt +++ b/toolbox/CMakeLists.txt @@ -219,11 +219,11 @@ include_directories(include/base) include_directories(SYSTEM ${Matlab_INCLUDE_DIRS} "${Matlab_ROOT_DIR}/simulink/include") include_directories(SYSTEM ${YARP_INCLUDE_DIRS} ${yarpWholeBodyInterface_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR}) -list(APPEND LINKED_LIBRARIES ${YARP_LIBRARIES} ${yarpWholeBodyInterface_LIBRARIES}) +list(APPEND LINKED_LIBRARIES ${YARP_LIBRARIES} ${yarpWholeBodyInterface_LIBRARIES} ${iDynTree_LIBRARIES}) if (WBT_USES_ICUB) list(APPEND LINKED_LIBRARIES ctrlLib) if (${ICUB_USE_IPOPT}) - list(APPEND LINKED_LIBRARIES iKin ${iDynTree_LIBRARIES}) + list(APPEND LINKED_LIBRARIES iKin) endif() endif()