How can I specify library path when using Meson?
问题 I'm trying to build a c++ project with Meson. The thing is, I have some libraries under /opt/conda but can't figure out how to link the project when running meson build . It seems to be only searching through /usr/lib directory. As far as I understood, meson uses cmake and pkg-config to look for libraries. Then would setting something like CMAKE_PREFIX_PATH be a feasible solution? and if so, how can I do that? Thanks in advance. 回答1: I see two possible approaches to solve your problem. the