CHECK_LIBRARY_EXISTS error

David Faure faure at kde.org
Mon Apr 10 01:25:39 CEST 2006


On Monday 10 April 2006 01:17, Michael Drüing wrote:
> Hi,
>  
> am I the only one who's getting this error lately?
> 
> CMake Error: Error in cmake code at
> D:/kde4/src/kdelibs/cmake/modules/FindGettext.cmake:32:
> Unknown CMake command "CHECK_LIBRARY_EXISTS".
> 
> It's been there for at least a week now, I just updated CMAke and kdelibs
> again and it's still there. Am I doing something wrong? The call to
> CHECK_LIBRARY_EXISTS seems to work fine in all other *.cmake files, so why
> does it fail in FindGettext.cmake?

Adding
INCLUDE(CheckLibraryExists)
might help - the other two .cmake files using it, do that.
No idea why it would work here without it though, might be system-dependent...

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list