Skip to content

Commit

Permalink
FindFFmpeg: Don't report missing components
Browse files Browse the repository at this point in the history
find_package_handle_standard_args() will take care of that
  • Loading branch information
ferdnyc committed Jun 25, 2021
1 parent 8f53e7e commit e2b685d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/Modules/FindFFmpeg.cmake
Expand Up @@ -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()

Expand Down

0 comments on commit e2b685d

Please sign in to comment.