Missing `find_package(YCM REQUIRED)`
andrearosasco opened this issue · 3 comments
I don't know if this is specific to how I've installed the superbuild but I had to add find_package(YCM REQUIRED)
to the cpp-library CMakeLists to have it find the modules.
It might be that I have tested everything using a robotology-superbuild
environment with some differences w.r.t your installation.
Let's keep this open until we understand where the problem is.
I don't know if this is specific to how I've installed the superbuild but I had to add find_package(YCM REQUIRED) to the cpp-library CMakeLists to have it find the modules.
Can you please post the error you are getting if you don't add that find_package
? Thanks
Actually, it doesn't happen anymore. If I remember correctly it was something related to not finding AddInstallRPATHSupport.
Since it is present in the cmake directory of this repository I think I didn't have it in the correct path.
I guess this can be closed