This changes the install location of the extra cmake files to use the CMAKE_INSTALL_LIBDIR variable, so that it matches the installation of the cmake config files.
Checklist
[X] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
🦟 Bug fix
Needed by https://github.com/gazebosim/gz-transport/pull/398, noticed while testing https://github.com/gazebo-release/gz-msgs10-release/pull/3
Summary
We have been fixing the debian metadata for gz-msgs10 in https://github.com/gazebo-release/gz-msgs10-release/pull/3, and I've built nightly debs from this branch successfully, but gz-transport fails to find the extra cmake files:
Looking at the location of installed cmake files in
libgz-msgs10-dev
:This changes the install location of the extra cmake files to use the
CMAKE_INSTALL_LIBDIR
variable, so that it matches the installation of the cmake config files.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.