]> git.sesse.net Git - vlc/commitdiff
cmake: Try to compensate for new ffmpeg directory structure by setting HAVE_LIBSWSCAL...
authorFaustino Osuna <riquedafreak@videolan.org>
Wed, 27 Feb 2008 04:55:47 +0000 (04:55 +0000)
committerFaustino Osuna <riquedafreak@videolan.org>
Wed, 27 Feb 2008 04:55:47 +0000 (04:55 +0000)
extras/buildsystem/cmake/include/config.cmake

index 020963d137182f04a8210b8d7d1c01bf7b25237b..c9233634501f95735220f316cd7c43e8c2433de6 100644 (file)
@@ -454,7 +454,7 @@ if(FFmpeg_FOUND)
   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 (swscale.h)
+  check_include_files (swscale.h HAVE_LIBSWSCALE_TREE)
   
   check_include_files ("stdint.h;postproc/postprocess.h" HAVE_POSTPROC_POSTPROCESS_H)
   vlc_enable_modules(ffmpeg)