krita CMake module search order wrong

Boudewijn Rempt boud at valdyas.org
Fri Jan 22 19:55:32 CET 2010


On Fri, 22 Jan 2010, Matthew Woehlke wrote:

> I've been unable to build krita for some time, and finally decided to 
> investigate closer. Upon inspection, it's not too hard to spot the problem:
> 
> HAVE_GLEW: '1'
> GLEW_LIBRARIES: ''
> 
> On further inspection, it turns out that FindGLEW.cmake (from 
> koffice/cmake/modules) isn't even being invoked. Instead it seems to be 
> using the FindGLEW.cmake from $KDEDIR/share/apps/cmake/modules.
> 
> I can fix the problem by manually copying the module, but methinks the 
> search order is wrong... Thoughts?

I don't know how to fix the search order. With another library, I had
to copy and rename the cmake module to make it work -- the KDE 4.4 one
didn't work with the cmake version for the kde version we are still
compatible with.

Boudewijn



More information about the Kde-buildsystem mailing list