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