robotology / human-dynamics-estimation

Software repository for estimating human dynamics
BSD 3-Clause "New" or "Revised" License
81 stars 28 forks source link

HumanDynamicsPublisher: Fix missing link to iDynTree::idyntree-modelio-urdf #245

Closed traversaro closed 3 years ago

traversaro commented 3 years ago

The HumanDynamicsPublisher device is using the iDynTree/ModelIO/ModelLoader.h header, but the correct iDynTree target is not linked in CMake. This works fine if YARP and iDynTree are installed in the same prefix (as it happens in Continuous Integration), but if for any reason YARP and iDynTree are installed in different directories, the compilation will fail as iDynTree/ModelIO/ModelLoader.h is not found in the include path.