[Digikam-devel] Re: [Kde-imaging] Re: Re: Git migration for 2.0.0 + code components re-structuring...

Gert Kello gert.kello at gmail.com
Wed Dec 15 09:02:06 GMT 2010


>> > I remember some discussion to ship ourselves the version which comes with
>> > OpenCV, with a patch by Gert, and throw away the homebrewn one?
>>
>> The OpenCv has OpenCVConfig.cmake, which provides a information needed...
>
> Ok I understand now: OpenCVConfig.cmake has simply the values hardcoded, while
> FindOpenCV.cmake will locate them dynamically.
> That means only the latter is suitable for shipping with a dependent package.

Well, I have couple of hints for You:
1. Perhaps You should fix Your FindOpenCV.cmake so that it works on
windows with trunk of OpenCV also. I tried to figure out what is going
on but failed. I have never written cmake scripts before, I'm just
hacking around.
2. Maybe it is clever to use same variable names as official
OpenCVConfig.cmake does?

(Sorry, I'm a bit frustrated right now)

Gert



More information about the Digikam-devel mailing list