The State of FindFFMPEG.cmake

Michael Jansen info at michael-jansen.biz
Fri Jun 24 22:33:17 CEST 2011


On Wednesday 22 June 2011 16:37:17 Michael Jansen wrote:
> Hi
> 
> We have four different files of that style flying aroung in kde
> 
> strigi/libstreamanalyzer/cmake/FindFFMPEG.cmake
> kdelibs/cmake/modules/FindFFmpeg.cmake
> kdemultimedia/cmake/modules/FindFFMPEG.cmake
> amarok/cmake/modules/FindFFmpeg.cmake
> 
> They best is the kdelibs one. Some are plain out problematic. They for
> example look up their header with PATH_SUFFIX libavcodec but include with
> <libavcodec/avcodec.h> (kdemultimedia). which break the build for some of
> us.

Anyone? We really have problems with that file. If noone objects i will just 
go forward and fix stuff with the new file.

I noticed macro_optional_find_package can take COMPONENTS parameter and the i 
can patch strigi macro because it is internal.

Mike



More information about the Kde-buildsystem mailing list