cmake: include stdint.h when checking postproc (as pointed by courmisch).
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 7 Feb 2008 17:58:10 +0000 (17:58 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 7 Feb 2008 17:58:10 +0000 (17:58 +0000)
extras/buildsystem/cmake/include/config.cmake

index 5009298..ad5aa6a 100644 (file)
@@ -307,8 +307,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 (postproc/postprocess.h)
+  set(CMAKE_EXTRA_INCLUDE_FILES)
   vlc_enable_modules(ffmpeg)
   vlc_add_module_compile_flag(ffmpeg ${FFmpeg_CFLAGS} )
   vlc_module_add_link_libraries(ffmpeg ${FFmpeg_LIBRARIES})