robotology / wearables

Code moved to https://github.com/robotology/human-dynamics-estimation
https://github.com/robotology/human-dynamics-estimation
BSD 3-Clause "New" or "Revised" License
19 stars 11 forks source link

CMake: Fix compilation of optional devices by defining options to enable them before they are used #182

Closed traversaro closed 1 year ago

traversaro commented 1 year ago

Fix https://github.com/robotology/wearables/issues/164 . Fix https://github.com/robotology/wearables/issues/181 .

traversaro commented 1 year ago

@RiccardoGrieco @lrapetti I also fixed https://github.com/robotology/wearables/issues/164 by adapting the CMakeLists of the FrameVisualizer . The fact that a target is available during the build as Wearable::IWear and when installed as IWear::IWear is another problem (as it complicates the use of wearables via FetchContent), but indipendent from this PR, see https://github.com/robotology/human-dynamics-estimation/issues/409 .