From 798dcafb651da947b88a528e97bb40ceb2eb3407 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Tue, 8 Oct 2019 09:48:04 -0400 Subject: [PATCH] CMake: Set required FFMpeg libs --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5776f40f..5e6c631b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -275,7 +275,7 @@ set_target_properties(openshot ################### FFMPEG ##################### # Find FFmpeg libraries (used for video encoding / decoding) -FIND_PACKAGE(FFmpeg REQUIRED) +FIND_PACKAGE(FFmpeg REQUIRED COMPONENTS avcodec avdevice avformat avutil swscale) foreach(ff_comp avcodec avdevice avformat avfilter avutil postproc swscale swresample avresample) if(TARGET FFmpeg::${ff_comp})