From 966b3ae57a037c0d69470623af85cc931fd7bfbb Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Thu, 25 Mar 2021 17:17:14 -0300 Subject: [PATCH] Search for both x264 and libx264 --- cmake/FindFFMPEG.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindFFMPEG.cmake b/cmake/FindFFMPEG.cmake index 058402fae..77da309ff 100644 --- a/cmake/FindFFMPEG.cmake +++ b/cmake/FindFFMPEG.cmake @@ -6,7 +6,7 @@ if(NOT CMAKE_CROSSCOMPILING) pkg_check_modules(PC_SWSCALE libswscale) pkg_check_modules(PC_SWRESAMPLE libswresample) if(TARGET_OS STREQUAL "linux") - pkg_check_modules(PC_X264 libx264) + pkg_search_module(PC_X264 libx264 x264) endif() endif()