redundancy: De-duplicate find_library
code from RMW libs, move here?
#3
Labels
enhancement
New feature or request
find_library
code from RMW libs, move here?
#3
If I follow the build-from-source instructions here:
https://index.ros.org/doc/ros2/Installation/Linux-Development-Setup/#get-ros-2-0-code
I notice that the
find_library
code is duplicated 3 times:It would be really nice to de-duplicate this code. If possible, could this be hoisted into this library? (I'm guessing re-written in C?)
From perusing this code, it looks there are current conditionals that depend on
_WIN32
and__APPLE__
, so it seems appropriate?This effectively comes from: https://raw.githubusercontent.com/ros2/ros2/release-crystal-20190314/ros2.repos
Source: https://github.com/ros2/ros2/blob/8d34d6550a77dcfe4828466e53f0cc5401be77fe/ros2.repos
(Came about while tinkering with consuming libs from Bazel (https://index.ros.org/doc/ros2/Installation/Linux-Development-Setup/#get-ros-2-0-code).)
The text was updated successfully, but these errors were encountered: