From: Faustino Osuna Date: Wed, 27 Feb 2008 04:55:47 +0000 (+0000) Subject: cmake: Try to compensate for new ffmpeg directory structure by setting HAVE_LIBSWSCAL... X-Git-Tag: 0.9.0-test0~2463 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=eaccd9ea6c0d37a380a4439b4686d69e5733e7eb;p=vlc cmake: Try to compensate for new ffmpeg directory structure by setting HAVE_LIBSWSCALE_TREE if swscale.his found. --- diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake index 020963d137..c923363450 100644 --- a/extras/buildsystem/cmake/include/config.cmake +++ b/extras/buildsystem/cmake/include/config.cmake @@ -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)