ros / catkin

A CMake-based build system that is used to build all packages in ROS.
http://wiki.ros.org/catkin
BSD 3-Clause "New" or "Revised" License
321 stars 280 forks source link

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

Open devrite opened 3 years ago

devrite commented 3 years ago

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.