From 3d1337d0fcc3a5bc9799cac73ff9c080869c4ba7 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Wed, 22 Apr 2020 15:14:47 -0700 Subject: [PATCH] fix usage to not expose underlying yaml (#630) Signed-off-by: Dirk Thomas --- rcl_yaml_param_parser/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rcl_yaml_param_parser/CMakeLists.txt b/rcl_yaml_param_parser/CMakeLists.txt index c106de0..870e1a7 100644 --- a/rcl_yaml_param_parser/CMakeLists.txt +++ b/rcl_yaml_param_parser/CMakeLists.txt @@ -5,7 +5,6 @@ project(rcl_yaml_param_parser) find_package(ament_cmake_ros REQUIRED) find_package(rcutils REQUIRED) find_package(libyaml_vendor REQUIRED) -find_package(yaml REQUIRED) # Default to C++14 if(NOT CMAKE_CXX_STANDARD) @@ -26,7 +25,7 @@ add_library( target_include_directories(${PROJECT_NAME} PUBLIC "$" "$") -ament_target_dependencies(${PROJECT_NAME} "yaml" "rcutils") +ament_target_dependencies(${PROJECT_NAME} "libyaml_vendor" "rcutils") # Set the visibility to hidden by default if possible if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID MATCHES "Clang") @@ -66,7 +65,7 @@ if(BUILD_TESTING) endif() -ament_export_dependencies(ament_cmake) +ament_export_dependencies(ament_cmake libyaml_vendor) ament_export_include_directories(include) install( DIRECTORY include/