|
|
@ -33,7 +33,7 @@ include(FindPackageHandleStandardArgs)
|
|
|
|
|
|
|
|
|
|
|
|
# The default components were taken from a survey over other FindFFMPEG.cmake files
|
|
|
|
# The default components were taken from a survey over other FindFFMPEG.cmake files
|
|
|
|
if (NOT FFmpeg_FIND_COMPONENTS)
|
|
|
|
if (NOT FFmpeg_FIND_COMPONENTS)
|
|
|
|
set(FFmpeg_FIND_COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE SWRESAMPLE)
|
|
|
|
set(FFmpeg_FIND_COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE)
|
|
|
|
endif ()
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -144,7 +144,7 @@ if (NOT FFMPEG_LIBRARIES)
|
|
|
|
endif ()
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
|
|
# Now set the noncached _FOUND vars for the components.
|
|
|
|
# Now set the noncached _FOUND vars for the components.
|
|
|
|
foreach (_component AVCODEC AVDEVICE AVFORMAT AVUTIL POSTPROCESS SWSCALE SWRESAMPLE)
|
|
|
|
foreach (_component AVCODEC AVDEVICE AVFORMAT AVUTIL POSTPROCESS SWSCALE)
|
|
|
|
set_component_found(${_component})
|
|
|
|
set_component_found(${_component})
|
|
|
|
endforeach ()
|
|
|
|
endforeach ()
|
|
|
|
|
|
|
|
|
|
|
|