From db5a2353bd1d6ef10ec0299e66f3eed6f92063b1 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 12 Dec 2021 19:48:54 +0000 Subject: [PATCH] FFmpeg: tweak components we use --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72113df5..37342276 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,12 +226,12 @@ endif(ENABLE_GDAL) if (ENABLE_VIDEO_RECORD) - find_package(FFmpeg) + find_package(FFmpeg COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE) if (FFmpeg_FOUND) # set this so it's picked up in simgear_config.h set(SG_FFMPEG 1) else() - message(STATUS "Video recording was requested, but required FFmpeg/avcoded libaries not found") + message(STATUS "Video recording was requested, but required FFmpeg/avcodec libaries not found") endif() endif()