From kde-commits Fri Nov 17 16:11:48 2006 From: Laurent Montel Date: Fri, 17 Nov 2006 16:11:48 +0000 To: kde-commits Subject: KDE/kdemultimedia/cmake/modules Message-Id: <1163779908.828560.23618.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116377995208018 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