From: Faustino Osuna Date: Fri, 29 Feb 2008 18:54:02 +0000 (+0000) Subject: cmake/config.cmake: Add debug flags to see if ffmpeg is really being detected. X-Git-Tag: 0.9.0-test0~2414 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=695ebfaebcd00e9baa7d280b95c3a1e4c8b02e03;p=vlc cmake/config.cmake: Add debug flags to see if ffmpeg is really being detected. --- diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake index f79badbc54..bdba95c8a6 100644 --- a/extras/buildsystem/cmake/include/config.cmake +++ b/extras/buildsystem/cmake/include/config.cmake @@ -468,6 +468,11 @@ if(FFmpeg_FOUND) vlc_check_include_files (ffmpeg/avutil.h libavutil/avutil.h) vlc_check_include_files (ffmpeg/swscale.h libswscale/swscale.h) vlc_check_include_files (postproc/postprocess.h libpostproc/postprocess.h) + + message( STATUS "avcodec found ${HAVE_FFMPEG_AVCODEC_H} || ${HAVE_LIBAVCODEC_AVCODEC_H}") + message( STATUS "avutil found ${HAVE_FFMPEG_AVUTIL_H} || ${HAVE_LIBAVUTIL_AVUTIL_H}") + message( STATUS "swscale found ${HAVE_FFMPEG_SWSCALE_H} || ${HAVE_LIBSWSCALE_SWSCALE_H}") + message( STATUS "postprocess found ${HAVE_POSTPROC_POSTPROCESS_H} || ${HAVE_LIBPOSTPROC_POSTPROCESS_H}") vlc_enable_modules(ffmpeg) vlc_add_module_compile_flag(ffmpeg ${FFmpeg_CFLAGS})