Replies: 2 comments 8 replies
-
At least a few of those definitely have pkg-config files available. curl, zlib, sqlite3, openssl... So your conan environment should be publicizing a pkgconfig directory such that external projects can then find the conan built versions of those dependencies. If there is no pkg-config integration, they may provide cmake find_package() compatible dependency lookups. Meson supports those too, using the same syntax as pkg-config. If that still fails, you can use compiler.find_library, see the second note at https://mesonbuild.com/Reference-manual_returned_compiler.html for advice on extending the search path. |
Beta Was this translation helpful? Give feedback.
-
For CMake deps specifically, Conan would have to set the CMAKE_PREFIX_PATH to the specific CMake deps. For Meson, this could be done via cross and native files or via |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Conan's meson integration, and I'm at the point where I need to get the dependencies into Meson.
Conan generates conanbuildinfo.txt which contains this important section:
Which points to exactly where the includes and libs are for the versions of the package I am downloading from conan.
How do I bridge that to Meson? These are all Cmake packages.
Beta Was this translation helpful? Give feedback.
All reactions