Repository navigation
Commit bce9241
The ROS build farm (bloom/debhelper) configures with
-DCMAKE_INSTALL_LIBDIR=lib/<multiarch-triplet>. Since #1152 made the
BTCPP_*_DESTINATION variables honor GNUInstallDirs, farm binaries
installed libbehaviortree_cpp.so to /opt/ros/<distro>/lib/x86_64-linux-gnu,
which breaks ament_export_libraries lookup in downstream packages and is
not on the LD_LIBRARY_PATH set by the ament environment hooks.
Shadow the cache variables with plain set() in the ament build path, so
ROS builds always install to $prefix/lib regardless of
CMAKE_INSTALL_LIBDIR, while standalone builds keep the GNUInstallDirs
override behavior introduced for #1120.
Also add a ros2-lyrical CI job that emulates the build farm flags and
asserts the library lands in $prefix/lib.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent c091696 commit bce9241
2 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
| |||
0 commit comments