From 1de7b60e5bdae1c118a90fd438f15c3205dbf9ee Mon Sep 17 00:00:00 2001 From: Andy Vandijck Date: Sat, 5 Jul 2025 14:35:06 +0200 Subject: [PATCH] Find AVFormat first Find AVFormat first --- cmake/FindAppleFFMPEG.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FindAppleFFMPEG.cmake b/cmake/FindAppleFFMPEG.cmake index 730c1e68..bca0cef4 100644 --- a/cmake/FindAppleFFMPEG.cmake +++ b/cmake/FindAppleFFMPEG.cmake @@ -33,7 +33,7 @@ include(FindPackageHandleStandardArgs) # The default components were taken from a survey over other FindFFMPEG.cmake files if (NOT FFmpeg_FIND_COMPONENTS) - set(FFmpeg_FIND_COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE SWRESAMPLE X264 X265) + set(FFmpeg_FIND_COMPONENTS AVFORMAT AVCODEC AVUTIL SWSCALE SWRESAMPLE X264 X265) endif () # @@ -65,7 +65,7 @@ macro(find_component _component _pkgconfig _library _header) if (PKG_CONFIG_FOUND) pkg_check_modules(PC_${_component} ${_pkgconfig}) endif () - endif (NOT WIN32) + endif (NOT WIN32) find_path(${_component}_INCLUDE_DIRS ${_header} HINTS