Skip to content

Commit 7fde494

Browse files
committed
Add missing RMW_IMPLEMENTATION definitions
Signed-off-by: Michel Hidalgo <[email protected]>
1 parent d17d41f commit 7fde494

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test_rmw_implementation/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ if(BUILD_TESTING)
3131
test/test_init_shutdown.cpp
3232
ENV ${rmw_implementation_env_var}
3333
)
34+
target_compile_definitions(test_init_shutdown${target_suffix}
35+
PUBLIC "RMW_IMPLEMENTATION=${rmw_implementation}")
3436
ament_target_dependencies(test_init_shutdown${target_suffix}
3537
osrf_testing_tools_cpp rcutils rmw rmw_implementation
3638
)

0 commit comments

Comments
 (0)