New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] LIB_DIRS from a meson package and cmake_find_package grenerator does not match #10762
Comments
Hi @hstejas The way to consume it would be irrelevant. The important point is that the library, once the package is created should be in I have just tested it in Windows, seems to be fine. |
Hello @memsharded More specifically I was just trying this out with libvips, and I noticed this in their readme
I don't know enough about meson to comment if this is a standard practice. I also noticed this, conan/conan/tools/meson/toolchain.py Line 196 in ae66343
So this is currently not possible? |
Hi @hstejas I am not sure what is happening. I have just tried with |
might be related: #9713 |
@memsharded |
I see. So then the possible approaches could be:
I think I would try first the 2nd and 3rd approaches, with the In any case, it doesn't seem so far this is a Conan bug. Meson is doing something and deciding to put some files in a different folder depending on the system. Conan recipes have different ways to deal with that, but nothing that it could do automagically. |
Thanks for the reply, |
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
Similar to #10705
conan new abc/v1 --template=meson_lib
(some changes were done to adapt to existing code)conan create .
Logs (Executed commands with output) (Include/Attach if Applicable)
The meson pacage is installed in some path similar to
~/.conan/.../lib/x86_64-linux-gnu/
but the generatedFindabc.cmake
hasset(abc_LIB_DIRS ".../.conan/data/.../package/fa9464e97e40f8d42250528fd396f66f62b6a0b2/lib")
.x86_64-linux-gnu
seems to be missingThe text was updated successfully, but these errors were encountered: