aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago@kde.org>2008-07-07 14:44:28 +0000
committerThiago Macieira <thiago@kde.org>2008-07-07 14:44:28 +0000
commit4ac89e1a560941849a0365297c11e276a421bbf4 (patch)
tree74a083fb43ef62f70308246430e8786bb8c8e3ab
parent7b547193adc09704c9fc69b22378c97452821b78 (diff)
downloadextra-cmake-modules-4ac89e1a560941849a0365297c11e276a421bbf4.tar.gz
extra-cmake-modules-4ac89e1a560941849a0365297c11e276a421bbf4.tar.bz2
Add some text explaining the FFMPEG include search paths
svn path=/trunk/KDE/kdelibs/; revision=829102
-rw-r--r--modules/FindFFmpeg.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/FindFFmpeg.cmake b/modules/FindFFmpeg.cmake
index 0f8ad9dd..8baf0af7 100644
--- a/modules/FindFFmpeg.cmake
+++ b/modules/FindFFmpeg.cmake
@@ -26,6 +26,13 @@ IF (NOT WIN32)
ENDIF (NOT WIN32)
#set(FFMPEG_DEFINITIONS ${_FFMPEGCflags})
+ #
+ # #include <libXXXX/XXXX.h> is the new style for FFMPEG headers
+ # This has been verified at least since 0.4.9
+ # Please do not change to the old format, since this will break for
+ # people who are using newer versions. Instead, upgrade your ffmpeg
+ # installation.
+ #
find_path(FFMPEG_INCLUDE_DIR libavcodec/avcodec.h
PATHS
${_FFMPEGIncDir}