Closed mebbaid closed 1 year ago
It is necessary, we just need to keep it in the file were we using FetchContent_Declare
(like IWYU), so in Fetchonnxruntimebinaries.cmake
.
I may be missing something, but this should be fixed by https://github.com/robotology/robotology-superbuild/pull/1448 . Perhaps you were running an old release of the superbuild @mebbaid ?
I may be missing something, but this should be fixed by #1448 . Perhaps you were running an old release of the superbuild @mebbaid ?
It seems to be the case. Since I no longer encounter this issue after updating the superbuild. I will close this issue.
Recently I needed to upgrade my machine to Ubunut 22.04 and reinstall the superbuild. I chose to install the dependencies via apt and not the conda route. Everything was ok. Then I installed matlab on the machine and needed to enable the
ROBOTOLOGY_USES_MATLAB
option. When trying to configure viaccmake ..
, I encountered the following issueNotice: my
cmake --version
returns 3.22.1 and soFetchContent_Declare
should be a defined CMake command. What i did is to append to the top ofBuildbipedal-locomotion-framework.cmake
aninclude(FetchContent)
which seems to fix the issue.I am not sure if this fix is necessary, or if I should look at something else.