Skip to content
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

find libraries by name instead of using the imported location #1142

Open
wants to merge 2 commits into
base: noetic-devel
Choose a base branch
from

Conversation

devrite
Copy link

@devrite devrite commented Apr 16, 2021

Fixes #1141

Instead of directly using an imported location we use
the soname if possible and after that the location name
to find the library using the location directory as hint.

This allows us to use an soname, which may be different
and to the location name (and residing directory). This
allows to use system installed libraries which may be updated
but are compatible with the one used at built time
as long as the location and name in which they were found in
are the same.

Instead of directly using an imported location we use
the soname if possible and after that the location name
to find the library using the location directory as hint.

This allows us to use an soname, which may be different
and to the location name (and residing directory). This
allows to use system installed libraries which may be updated
but are compatible with the one used at built time
as long as the location and name in which they were found in
are the same.
cmake/catkin_libraries.cmake Outdated Show resolved Hide resolved
Previously found library will use hint instead of previous search

Co-authored-by: Martin Pecka <[email protected]>
@devrite devrite force-pushed the 1141-catkin-package-depends-imported-by-location branch from 09c2469 to 113b921 Compare October 25, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

catkin_package DEPENDS libs are imported by LOCATION only
2 participants