I'm not entirely convinced by the implied problem diagnosis.
On desktop cmake appears to get the rpath logic right (including relinking binaries with the right rpath when installing).
To me that suggests that cmake is fully capable of getting things right and that the problem is that the context for "installing" in the partial-chroot setup is the only thing broken.
I'm not entirely convinced by the implied problem diagnosis.
On desktop cmake appears to get the rpath logic right (including relinking binaries with the right rpath when installing).
To me that suggests that cmake is fully capable of getting things right and that the problem is that the context for "installing" in the partial-chroot setup is the only thing broken.