From bb9dce0e3956778e1c71546acda062d729294961 Mon Sep 17 00:00:00 2001 From: Dominic Reber Date: Tue, 12 Mar 2024 15:22:39 +0100 Subject: [PATCH] fix: link hpp fcl manually --- source/robot_model/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/robot_model/CMakeLists.txt b/source/robot_model/CMakeLists.txt index 56116792b..87ed8a2d8 100644 --- a/source/robot_model/CMakeLists.txt +++ b/source/robot_model/CMakeLists.txt @@ -1,8 +1,10 @@ set(LIBRARY_NAME robot_model) set(PINOCCHIO_VERSION 2.9.0) +set(HPP_FCL_VERSION 1.8.1) set(OSQP_EIGEN_VERSION 0.8.1) find_package(pinocchio ${PINOCCHIO_VERSION} REQUIRED) +find_package(hpp-fcl ${HPP_FCL_VERSION} REQUIRED) find_package(OsqpEigen ${OSQP_EIGEN_VERSION} REQUIRED) add_definitions(-DPINOCCHIO_WITH_HPP_FCL) @@ -24,6 +26,7 @@ target_include_directories(${LIBRARY_NAME} target_link_libraries(${LIBRARY_NAME} state_representation ${PINOCCHIO_LIBRARIES} + ${hpp-fcl_LIBRARIES} OsqpEigen::OsqpEigen ) target_compile_definitions(${LIBRARY_NAME} PUBLIC -DPINOCCHIO_WITH_HPP_FCL)