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

cmake: include stdint.h when checking postproc (as pointed by courmisch).

parent 2e52fa39
...@@ -307,8 +307,10 @@ set(HAVE_DL_DLOPEN ${Dlopen_FOUND}) ...@@ -307,8 +307,10 @@ set(HAVE_DL_DLOPEN ${Dlopen_FOUND})
find_package(FFmpeg) find_package(FFmpeg)
if(FFmpeg_FOUND) if(FFmpeg_FOUND)
set(CMAKE_EXTRA_INCLUDE_FILES stdint.h)
vlc_check_include_files (ffmpeg/avcodec.h) vlc_check_include_files (ffmpeg/avcodec.h)
vlc_check_include_files (postproc/postprocess.h) vlc_check_include_files (postproc/postprocess.h)
set(CMAKE_EXTRA_INCLUDE_FILES)
vlc_enable_modules(ffmpeg) vlc_enable_modules(ffmpeg)
vlc_add_module_compile_flag(ffmpeg ${FFmpeg_CFLAGS} ) vlc_add_module_compile_flag(ffmpeg ${FFmpeg_CFLAGS} )
vlc_module_add_link_libraries(ffmpeg ${FFmpeg_LIBRARIES}) 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