Skip to content

Commit

Permalink
Create ros-humble-rosbag2-storage.win.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Feb 10, 2024
1 parent ca98bc9 commit 0cfa8c4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions patch/ros-humble-rosbag2-storage.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
diff --git a/rosbag2_storage/CMakeLists.txt b/rosbag2_storage/CMakeLists.txt
index d31ad8de3..c288eb0b2 100644
--- a/rosbag2_storage/CMakeLists.txt
+++ b/rosbag2_storage/CMakeLists.txt
@@ -24,7 +24,7 @@ find_package(ament_cmake REQUIRED)
find_package(pluginlib REQUIRED)
find_package(rcpputils REQUIRED)
find_package(rcutils REQUIRED)
-find_package(yaml_cpp_vendor REQUIRED)
+find_package(yaml-cpp REQUIRED)

add_library(
${PROJECT_NAME}
@@ -44,7 +44,7 @@ ament_target_dependencies(
pluginlib
rcpputils
rcutils
- yaml_cpp_vendor)
+ yaml-cpp)

# Causes the visibility macros to use dllexport rather than dllimport,
# which is appropriate when building the dll but not consuming it.
@@ -68,7 +68,7 @@ ament_export_libraries(${PROJECT_NAME})
# Export modern CMake targets
ament_export_targets(export_${PROJECT_NAME})

-ament_export_dependencies(pluginlib yaml_cpp_vendor)
+ament_export_dependencies(pluginlib yaml-cpp)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)

0 comments on commit 0cfa8c4

Please sign in to comment.