From c3b72e85d9d764c21fea9f2f311dd2a2c168ead9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 8 Mar 2025 12:08:49 +0000 Subject: automatic import of ros-humble-irobot-create-gazebo-plugins --- 0-irobot-create-gazebo-plugins-fix-ffmpeg.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 0-irobot-create-gazebo-plugins-fix-ffmpeg.patch (limited to '0-irobot-create-gazebo-plugins-fix-ffmpeg.patch') diff --git a/0-irobot-create-gazebo-plugins-fix-ffmpeg.patch b/0-irobot-create-gazebo-plugins-fix-ffmpeg.patch new file mode 100644 index 0000000..408f9a4 --- /dev/null +++ b/0-irobot-create-gazebo-plugins-fix-ffmpeg.patch @@ -0,0 +1,18 @@ +diff -Naur ros-humble-irobot-create-gazebo-plugins-2.0.0/CMakeLists.txt ros-humble-irobot-create-gazebo-plugins-2.0.0_new/CMakeLists.txt +--- ros-humble-irobot-create-gazebo-plugins-2.0.0/CMakeLists.txt 2023-01-20 02:43:13.000000000 +0800 ++++ ros-humble-irobot-create-gazebo-plugins-2.0.0_new/CMakeLists.txt 2023-11-20 21:00:43.000000000 +0800 +@@ -25,6 +25,14 @@ + return() + endif() + ++find_package(PkgConfig REQUIRED) ++pkg_check_modules(FFMPEG REQUIRED IMPORTED_TARGET libavcodec) ++ ++include_directories( ++ include ++ ${FFMPEG_INCLUDE_DIRS} ++) ++ + link_directories(${gazebo_dev_LIBRARY_DIRS}) + + # Add libraries -- cgit v1.2.3