[kde-edu]: Re: kalzium, cmake and avogadro

Rebetez Etienne etienne.rebetez at oberwallis.ch
Fri Jan 7 22:35:36 CET 2011

Am Freitag, 7. Januar 2011, 20:17:15 schrieb Albert Astals Cid:
> Index: kalzium/KalziumConfigureChecks.cmake
> ===================================================================
> --- kalzium/KalziumConfigureChecks.cmake        (revision 1211788)
> +++ kalzium/KalziumConfigureChecks.cmake        (working copy)
> @@ -24,5 +24,5 @@
>  macro_log_feature(LIBFACILE_FOUND "LibFacile" "libfacile is needed by
> Kalzium for the Equation Solver."
> "http://www.recherche.enac.fr/log/facile/" FALSE "" "")
>  macro_log_feature(OPENBABEL2_FOUND "OpenBabel2" "OpenBabel is needed by
> Kalzium for the 3D-molecule viewer" "http://openbabel.sourceforge.net/"
> FALSE "2.2" "")
>  macro_log_feature(EIGEN2_FOUND "Eigen2" "A generic C++ template library
> for dense and sparse matrices" "http://eigen.tuxfamily.org" FALSE "2.0.0"
> "") -macro_log_feature(Avogadro_FOUND "Avogadro" "Advanced molecular
> editor" "http://avogadro.openmolecules.net" FALSE "1.0" "")
> +macro_log_feature(AVOGADRO_FOUND "Avogadro" "Advanced molecular editor"
> "http://avogadro.openmolecules.net" FALSE "1.0" "")
> I need this ↑ patch so that the summary line is correct and it tells me
> that avogadro is installed, anyone needs the same?
> Albert

Oh, it's case sensitive:) 
Thanks Albert, i was also wondering why i don't find avogadro even though i 
have it installed. 
I also have fixed the rest of the Avogadro variable names. 
There is just one problem left:
Now that avogadro ist found, i get a cmake error:

CMake Error at kalzium/compoundviewer/CMakeLists.txt:1 (include):
  include called with wrong number of arguments.  Include only takes one

CMake Error at kalzium/src/CMakeLists.txt:27 (include):
  include called with wrong number of arguments.  Include only takes one

The include is:

Has somone a hint?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmakeAvogadro.patch
Type: text/x-patch
Size: 4398 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20110107/529d3f97/attachment.patch 

More information about the kde-edu mailing list