]> git.sesse.net Git - vlc/blobdiff - extras/buildsystem/cmake/include/config.cmake
Update references to ffmpeg header files to match new directory structure. All ffmpe...
[vlc] / extras / buildsystem / cmake / include / config.cmake
index c9233634501f95735220f316cd7c43e8c2433de6..37cbfeca0bb498b88721a9ac59469f7351729c4c 100644 (file)
@@ -451,10 +451,9 @@ if(FFmpeg_FOUND)
   set( CMAKE_REQUIRED_FLAGS_saved ${CMAKE_REQUIRED_FLAGS} )
   set( CMAKE_REQUIRED_FLAGS ${FFmpeg_CFLAGS} )
 
-  vlc_check_include_files (ffmpeg/avcodec.h)
-  vlc_check_include_files (ffmpeg/avutil.h)
-  vlc_check_include_files (ffmpeg/swscale.h)
-  check_include_files (swscale.h HAVE_LIBSWSCALE_TREE)
+  vlc_check_include_files (libavcodec/avcodec.h)
+  vlc_check_include_files (libavutil/avutil.h)
+  vlc_check_include_files (libswscale/swscale.h)
   
   check_include_files ("stdint.h;postproc/postprocess.h" HAVE_POSTPROC_POSTPROCESS_H)
   vlc_enable_modules(ffmpeg)