fix: remove hardcoded cmake install path#535
Conversation
|
This most likely will break things for Nix builds, I'll double check. ref: #495 where indeed I never tried mixing installation from packages with cmake builds. |
cmake-format messes up comments when reflowing lines that are longer than the desired length. Disable it entirely, manually formatted comments are always better.
83a1669 to
d1b1c2a
Compare
|
My apologies for taking so long to get to it. My latest changes should fix it for both Nix and ubuntu packages. For a bit of background on the complexities behind this:
Thus we introduced But now to add a bit of additional complexity:
@khangtpham25 I have only tested for Nix, could you please confirm that the issue is resolved on your build against ubuntu packages? |
Hi @ThomasDuvinage,
This fix the installation path of mc_rtc_tutorials.
The error happen when CMAKE_INSTALL_PREFIX is usr/ (since mc_rtc is installed through apt), CMAKE_INSTALL_LIBDIR is set to
lib/x86_64-linux-gnu/instead of justlib/. More details can be found here