Sofa.ConfigConfig.cmake vs. SofaConfig.cmake #4175
-
Hi, tldr; ##Long version: I have a fresh clone of the git repo and built Sofa from source:
Everything went fine and I have an install folder inside by build folder. To use Sofa in my own project, I have written a CMakeLists.txt:
Running
So I went looking in $my_sofa_path/build/install/lib/cmake/Sofa.Config and found "Sofa.ConfigConfig.cmake". Funnily enough I could fix this by simply copying |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind. My fault. My CMakeLists.txt was not correct. Changing it to this now works fine:
|
Beta Was this translation helpful? Give feedback.
Never mind. My fault. My CMakeLists.txt was not correct. Changing it to this now works fine: