From cbb88be6390edaa065dce0b3a918ad7bf2cf9af5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 9 Mar 2008 17:52:31 +0100 Subject: [PATCH] Fix postproc header detection (the test depends on inclusion of stdint.h but there is no right way to do that in cmake) --- extras/buildsystem/cmake/include/config.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake index dd11f61e4f..a7df0d1641 100644 --- a/extras/buildsystem/cmake/include/config.cmake +++ b/extras/buildsystem/cmake/include/config.cmake @@ -467,7 +467,8 @@ if(FFmpeg_FOUND) vlc_check_include_files (ffmpeg/avcodec.h libavcodec/avcodec.h) 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) + check_c_source_compiles( "#include \n#include \nint main(){return 0;}" HAVE_POSTPROC_POSTPROCESS_H ) + check_c_source_compiles( "#include \n#include \nint main(){return 0;}" HAVE_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}") -- 2.39.5