From 422e1724cf330d903f4fe2a87e46c674390a27ac Mon Sep 17 00:00:00 2001 From: Eric Cousineau Date: Mon, 25 Mar 2019 17:05:37 -0400 Subject: [PATCH] Add `rcpputils` for `find_library` --- rmw_implementation/CMakeLists.txt | 2 + rmw_implementation/package.xml | 1 + rmw_implementation/src/functions.cpp | 88 ++-------------------------- 3 files changed, 7 insertions(+), 84 deletions(-) diff --git a/rmw_implementation/CMakeLists.txt b/rmw_implementation/CMakeLists.txt index c23861eb..76ccefdf 100644 --- a/rmw_implementation/CMakeLists.txt +++ b/rmw_implementation/CMakeLists.txt @@ -13,6 +13,7 @@ endif() find_package(ament_cmake REQUIRED) +find_package(rcpputils REQUIRED) find_package(rcutils REQUIRED) # provides FindPoco.cmake and Poco on platforms without it @@ -54,6 +55,7 @@ else() src/functions.cpp) ament_target_dependencies(${PROJECT_NAME} "Poco" + "rcpputils" "rmw") target_compile_definitions(${PROJECT_NAME} PUBLIC "DEFAULT_RMW_IMPLEMENTATION=${RMW_IMPLEMENTATION}") diff --git a/rmw_implementation/package.xml b/rmw_implementation/package.xml index 82173fc7..a30575c3 100644 --- a/rmw_implementation/package.xml +++ b/rmw_implementation/package.xml @@ -9,6 +9,7 @@ ament_cmake + rcpputils rcutils rmw