Problem in KDEEDU with OpenBabel2

Carsten Niehaus cniehaus at gmx.de
Sat Jun 10 17:09:01 CEST 2006


Am Samstag 10 Juni 2006 16:54 schrieben Sie:
> On Saturday 10 June 2006 16:01, Carsten Niehaus wrote:
> > Hi
>
> You use macro_optional_find_package and I think that it's not found but you
> try to use openbabel dir when it's not found.
> use
> if(OPENBABEL2_FOUND)
> 	include_directories(${OPENBABEL2_DIR})
> endif(OPENBABEL2_FOUND)

Ok, i removed the marco-line and add those three lines. The error is gone, in 
CMakeCache.txt I get this:

//The directory containing OpenBabel2Config.cmake.
OpenBabel2_DIR:PATH=OpenBabel2_DIR-NOTFOUND

So it seems the FindOpenBabel2.cmake is broken, right? (I have OB2 installed, 
of course)

> But I don't see into kalzium where you use it
> so perhaps it's an other pb I don't know

Yes, I cannot use it when the cmake-stuff is not working :) As soon as the 
cmake-checks work I will port Kalzium to OpenBabel2. Or do I have to use it 
so that cmake is changing behaviour? (like ui-files are not compiled until 
you include the ui_classname.h -file in the project)

-- 
Gruß,
  Carsten Niehaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060610/37b3d3a8/attachment.pgp 


More information about the Kde-buildsystem mailing list