From: Pierre d'Herbemont Date: Fri, 8 Feb 2008 17:05:38 +0000 (+0000) Subject: cmake: Include stdint.h when searching postprocess.h. X-Git-Tag: 0.9.0-test0~2795 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e4f4413c02a2604acf6e302fa41bc8af51b4a27b;p=vlc cmake: Include stdint.h when searching postprocess.h. --- diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake index 3a21735fd6..a76a7b3f83 100644 --- a/extras/buildsystem/cmake/include/config.cmake +++ b/extras/buildsystem/cmake/include/config.cmake @@ -371,12 +371,10 @@ set(HAVE_DL_DLOPEN ${Dlopen_FOUND}) find_package(FFmpeg) if(FFmpeg_FOUND) - set(CMAKE_EXTRA_INCLUDE_FILES stdint.h) vlc_check_include_files (ffmpeg/avcodec.h) vlc_check_include_files (ffmpeg/avutil.h) vlc_check_include_files (ffmpeg/swscale.h) - vlc_check_include_files (postproc/postprocess.h) - set(CMAKE_EXTRA_INCLUDE_FILES) + check_include_files ("stdint.h;postproc/postprocess.h" HAVE_POSTPROC_POSTPROCESS_H) vlc_enable_modules(ffmpeg) vlc_add_module_compile_flag(ffmpeg ${FFmpeg_CFLAGS} ) vlc_module_add_link_libraries(ffmpeg ${FFmpeg_LIBRARIES})