dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20448
Re: [Question #137667]: CMake choosing wrong Python interpreter
On Monday December 13 2010 08:34:42 Andy R Terrel wrote:
> Question #137667 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/137667
>
> Status: Answered => Open
>
> Andy R Terrel is still having a problem:
> Johannes, thanks for the tip. Unfortunately, CMake still seems to pick
> up the python version as 2.7 which is causing trouble with the swig
> generators.
By looking at the FindPython.cmake on Maverick one should be able to set the
Python version by the CMakeVariable:
CMAKE_USE_PYTHON_VERSION
Not sure this helps...
Johan
Follow ups
References