FindFFmpeg: Don't report missing components

find_package_handle_standard_args() will take care of that
This commit is contained in:
FeRD (Frank Dana)
2021-06-25 12:37:58 -04:00
parent 8f53e7e922
commit e2b685de47

View File

@@ -99,10 +99,10 @@ macro(set_component_found _component )
if (FFmpeg_${_component}_LIBRARIES AND FFmpeg_${_component}_INCLUDE_DIRS)
# message(STATUS "FFmpeg - ${_component} found.")
set(FFmpeg_${_component}_FOUND TRUE)
else ()
if (NOT FFmpeg_FIND_QUIETLY AND NOT FFMPEG_FIND_QUIETLY)
message(STATUS "FFmpeg - ${_component} not found.")
endif ()
#else ()
# if (NOT FFmpeg_FIND_QUIETLY AND NOT FFMPEG_FIND_QUIETLY)
# message(STATUS "FFmpeg - ${_component} not found.")
# endif ()
endif ()
endmacro()