robotology / idyntree-yarp-tools

Tools based on the iDynTree library that depend on YARP.
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Fix compilation if BUILD_SHARED_LIBS is set to ON #44

Open traversaro opened 1 year ago

traversaro commented 1 year ago

If some library requires to be static, this should be hardcoded, not to be prone to be broken if BUILD_SHARED_LIBS is set to ON.

S-Dafarra commented 1 year ago

If I remember correctly, the problem was related to the fact that the ReadOnlyControlBoardPlugin (useful to read the stateExt port) was found only after the installation. I am not sure if it is supposed to fail when set to ON

traversaro commented 1 year ago

At the moment this is the failure if BUILD_SHARED_LIBS is ON: https://github.com/robotology/robotology-superbuild/pull/1333#issuecomment-1408513430 .