Skip to content

Commit 78e2bde

Browse files
committed
Ensure rmw_implementation_cmake dependency
1 parent 929f955 commit 78e2bde

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

rmw_implementation/package.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
<buildtool_depend>ament_cmake</buildtool_depend>
1010

11-
<build_depend>rmw_implementation_cmake</build_depend>
12-
11+
<depend>rmw_implementation_cmake</depend>
1312
<depend>rmw_connext_cpp</depend>
1413
<depend>rmw_connext_dynamic_cpp</depend>
1514
<depend>rmw_fastrtps_cpp</depend>

rmw_implementation/rmw_implementation-extras.cmake.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
find_package(rmw_implementation_cmake REQUIRED)
1818
set(default_rmw_implementation "@RMW_IMPLEMENTATION@")
19+
list(APPEND rmw_implementation_LIBRARIES ${rmw_implementation_cmake_DEFINITIONS})
20+
list(APPEND rmw_implementation_LIBRARIES ${rmw_implementation_cmake_INCLUDE_DIRS})
21+
list(APPEND rmw_implementation_LIBRARIES ${rmw_implementation_cmake_LIBRARIES})
1922

2023
if(NOT "${RMW_IMPLEMENTATION} " STREQUAL " ")
2124
set(requested_default_rmw_implementation ${RMW_IMPLEMENTATION})

0 commit comments

Comments
 (0)