From eaccd9ea6c0d37a380a4439b4686d69e5733e7eb Mon Sep 17 00:00:00 2001 From: Faustino Osuna Date: Wed, 27 Feb 2008 04:55:47 +0000 Subject: [PATCH] cmake: Try to compensate for new ffmpeg directory structure by setting HAVE_LIBSWSCALE_TREE if swscale.his found. --- extras/buildsystem/cmake/include/config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5