From 6d82d2e14eab18d2793d90eb655192ee04f9be63 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Tue, 28 Nov 2017 02:41:02 +0200 Subject: [PATCH] Add some output --- modules/FindFFmpeg.cmake | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/FindFFmpeg.cmake b/modules/FindFFmpeg.cmake index 9ab04e7ce..e3cb9ef8b 100644 --- a/modules/FindFFmpeg.cmake +++ b/modules/FindFFmpeg.cmake @@ -17,6 +17,7 @@ # - AVUTIL # - POSTPROC # - SWSCALE +# - SWRESAMPLE # the following variables will be defined # _FOUND - System has # _INCLUDE_DIRS - Include directory necessary for using the headers @@ -113,12 +114,12 @@ if (NOT FFMPEG_LIBRARIES) # Check if the required components were found and add their stuff to the FFMPEG_* vars. foreach (_component ${FFmpeg_FIND_COMPONENTS}) if (${_component}_FOUND) - # message(STATUS "Required component ${_component} present.") + message(STATUS "Found ffmpeg component ${_component}.") set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} ${${_component}_LIBRARIES}) set(FFMPEG_DEFINITIONS ${FFMPEG_DEFINITIONS} ${${_component}_DEFINITIONS}) list(APPEND FFMPEG_INCLUDE_DIRS ${${_component}_INCLUDE_DIRS}) else () - # message(STATUS "Required component ${_component} missing.") + message(STATUS "Missing ffmpeg component ${_component}.") endif () endforeach () @@ -150,4 +151,4 @@ foreach (_component ${FFmpeg_FIND_COMPONENTS}) endforeach () # Give a nice error message if some of the required vars are missing. -find_package_handle_standard_args(FFmpeg DEFAULT_MSG ${_FFmpeg_REQUIRED_VARS}) \ No newline at end of file +find_package_handle_standard_args(FFmpeg DEFAULT_MSG ${_FFmpeg_REQUIRED_VARS})