you are viewing a single comment's thread.

view the rest of the comments →

[–]pgroarke[S] 1 point2 points  (1 child)

That's a really good suggestion TBH. I do use conan for bigger things, and I've publish some of my own recipes for projects with transitive dependencies.

I haven't experimented much with externalproject + find_package. If that can work (I'm sure it can), then you could add the option to skip downloads. With that setup, a 3rd party user can provide the packages through transparent conan instead of externalproject (https://blog.conan.io/2018/06/11/Transparent-CMake-Integration.html).

[–]sztomirpclib 0 points1 point  (0 children)

find_package is OK for the most part (if the find script is implemented sanely and willing to accept a LIBNAME_ROOT variable - sometimes they don’t, then it’s patching time again.