From: Faustino Osuna Date: Fri, 29 Feb 2008 17:49:40 +0000 (+0000) Subject: cmake/config.cmake: Look for postproc/postprocess.h or libpostproc/postprocess.h. X-Git-Tag: 0.9.0-test0~2417 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=141d39e94c018259f1fd8590cc54e15c6e9bde90;hp=2ae1859128ba8e3ec8e3d652ac273092ae68842c;p=vlc cmake/config.cmake: Look for postproc/postprocess.h or libpostproc/postprocess.h. --- diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake index 0a95268736..f79badbc54 100644 --- a/extras/buildsystem/cmake/include/config.cmake +++ b/extras/buildsystem/cmake/include/config.cmake @@ -467,8 +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) - - check_include_files ("stdint.h;postproc/postprocess.h" HAVE_POSTPROC_POSTPROCESS_H) + vlc_check_include_files (postproc/postprocess.h libpostproc/postprocess.h) + vlc_enable_modules(ffmpeg) vlc_add_module_compile_flag(ffmpeg ${FFmpeg_CFLAGS}) vlc_module_add_link_libraries(ffmpeg ${FFmpeg_LIBRARIES})