You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
CMake projects when used via meson will misplace library files.
On some systems files will end up in /usr/lib in place of /usr/lib/x86_64-linux-gnu, on others in /app/lib64 in place of /app/lib.
Meson on the other hand properly places files.
Expected behavior
CMake should install files in the same folders as meson unless explicitly overridden. Meson is able to determine the right paths for the involved architecture, CMake wrapped by meson is not.
system parameters
I was able to report this on both debian-trixie and freedesktop-24.08 so it is not an isolated issue specific to my configuration.
On my system I am using meson 1.5.2, python 3.12.6, debian-trixie, native build, ninja 1.12.1 and cmake 3.30.3.
The text was updated successfully, but these errors were encountered:
Describe the bug
CMake projects when used via meson will misplace library files.
On some systems files will end up in
/usr/lib
in place of/usr/lib/x86_64-linux-gnu
, on others in/app/lib64
in place of/app/lib
.Meson on the other hand properly places files.
To Reproduce
I created a simple repo to show this issue.
The choice of libraries is just random, all those I tested exhibited the same behaviour.
https://github.com/KaruroChori/meson-report-error
Expected behavior
CMake should install files in the same folders as meson unless explicitly overridden. Meson is able to determine the right paths for the involved architecture, CMake wrapped by meson is not.
system parameters
I was able to report this on both debian-trixie and freedesktop-24.08 so it is not an isolated issue specific to my configuration.
On my system I am using meson 1.5.2, python 3.12.6, debian-trixie, native build, ninja 1.12.1 and cmake 3.30.3.
The text was updated successfully, but these errors were encountered: