From f9b943fa42f193f405e3bcc1084ca83823237777 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 13 Dec 2021 11:26:19 +0100 Subject: [PATCH] Add OsqpEigen as explicit dependency of bipedal-locomotion-framework --- cmake/Buildbipedal-locomotion-framework.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Buildbipedal-locomotion-framework.cmake b/cmake/Buildbipedal-locomotion-framework.cmake index 9ff10328e..60636dd2d 100644 --- a/cmake/Buildbipedal-locomotion-framework.cmake +++ b/cmake/Buildbipedal-locomotion-framework.cmake @@ -6,16 +6,19 @@ include(YCMEPHelper) include(FindOrBuildPackage) find_or_build_package(YARP QUIET) +find_or_build_package(OsqpEigen QUIET) find_or_build_package(iDynTree QUIET) find_or_build_package(matioCpp QUIET) find_or_build_package(UnicyclePlanner QUIET) set(bipedal-locomotion-framework_DEPENDS "") list(APPEND bipedal-locomotion-framework_DEPENDS YARP) +list(APPEND bipedal-locomotion-framework_DEPENDS OsqpEigen) list(APPEND bipedal-locomotion-framework_DEPENDS iDynTree) list(APPEND bipedal-locomotion-framework_DEPENDS matioCpp) list(APPEND bipedal-locomotion-framework_DEPENDS UnicyclePlanner) + set(bipedal-locomotion-framework_USES_CppAD OFF) if (ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS) @@ -49,7 +52,8 @@ ycm_ep_helper(bipedal-locomotion-framework TYPE GIT COMPONENT dynamics FOLDER src CMAKE_ARGS -DBUILD_TESTING:BOOL=OFF - -DFRAMEWORK_USE_YARP:BOOL=ON + -DFRAMEWORK_USE_YARP:BOOL=O + -DFRAMEWORK_USE_OsqpEigen:BOOL=ON -DFRAMEWORK_USE_matioCpp:BOOL=ON -DFRAMEWORK_USE_manif:BOOL=${ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS} -DFRAMEWORK_USE_Qhull:BOOL=${ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS}