Commit e4f4413c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Include stdint.h when searching postprocess.h.

parent 2e42751a
......@@ -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})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment