On Saturday 13 June 2009 01:44:08 Matthew Woehlke wrote:
> Christophe Giboudeaux wrote:
> > On Saturday 13 June 2009 00:49:57 Matthew Woehlke wrote:
>
> But I can tell you what happens. FindSoprano tries to read
> ${SOPRANO_INCLUDE}/soprano/version.h, which doesn't exist. It then has
> *a cmake error* in the next (REGEX MATCH) line. This isn't a "couldn't
> find package", this is a "your buildsystem has a syntax error".
>

${SOPRANO_INCLUDE}/soprano/version.h will be read *only* if Soprano_FOUND is 
true (ie: if SOPRANO_INCLUDE_DIR and SOPRANO_LIBRARIES both exist).

If this file doesn't exist, it's a soprano issue.

Note that the FindSoprano.cmake in kdesupport/akonadi is almost the same as 
the one in kdelibs (we just replaced ${KDE4_LIB_DIR} which doesn't make sense 
in kdesupport).

Finally, your patch is wrong: there's no version.h in 
${KDESupport_SOURCE_DIR}/soprano/soprano. This file is generated and is in 
${KDESupport_BINARY_DIR}/soprano/soprano.


Christophe.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to