SVN commit 605632 by mlaurent: Don't try to use pkgconfig under windows M +2 -2 FindFFmpeg.cmake --- trunk/KDE/kdemultimedia/cmake/modules/FindFFmpeg.cmake #605631:605632 @@ -17,13 +17,13 @@ set(FFMPEG_FOUND TRUE) else (FFMPEG_LIBRARIES)# AND FFMPEG_DEFINITIONS) - +IF (NOT WIN32) # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls INCLUDE(UsePkgConfig) PKGCONFIG(libavcodec _FFMPEGIncDir _FFMPEGLinkDir _FFMPEGLinkFlags _FFMPEGCflags) - +ENDIF (NOT WIN32) #set(FFMPEG_DEFINITIONS ${_FFMPEGCflags} CACHE INTERNAL "The compilation flags for ffmpeg") find_path(FFMPEG_INCLUDE_DIR ffmpeg/avcodec.h