Python CMake logic

Moin

I just compiled Avogadro with -DENABLE_PYTHON=False and got this feedback:

– Python support disabled.
– Setting new boost python libraries
– Enabled python engine
– Enabled python extension
– Enabled python terminal

This makes the build break on OpenSUSE 10.3 because of a broken
Python-Cmake-thing. (Marcus knows details).

I fixed this by disabling PyBoost when Py is disabled. You find the commit in
my gitrepo or here:

Please merge if the patch is fine.

Carsten

I just compiled Avogadro with -DENABLE_PYTHON=False and got this
feedback:

I fixed this by disabling PyBoost when Py is disabled. You find the
commit in
my gitrepo or here:

Looks like a good patch and I merged it in. Hopefully Marcus will add
you as a contributor so you can merge your own patches.

Cheers,
-Geoff