MantisBT - CMake
View Issue Details
0008231CMakeModulespublic2008-12-05 06:142009-01-10 08:20
cech-kooaba 
Alex Neundorf 
normalminoralways
closedno change required 
CMake-2-6 
 
0008231: No way to specify non-standard location of python installation for FindPythonLibs
If the python installation resides in non-standard place (e.g. somewhere in home directory). Other modules use *_ROOT environment variable to specify location of the package.
The patch adds additional path to search based on PYTHON_ROOT.
No tags attached.
patch FindPythonLibs-use_PYTHON_ROOT.patch (750) 2008-12-05 06:14
https://public.kitware.com/Bug/file/1896/FindPythonLibs-use_PYTHON_ROOT.patch
Issue History
2008-12-05 06:14cech-kooabaNew Issue
2008-12-05 06:14cech-kooabaFile Added: FindPythonLibs-use_PYTHON_ROOT.patch
2009-01-10 08:20Alex NeundorfNote Added: 0014512
2009-01-10 08:20Alex NeundorfAssigned To => Alex Neundorf
2009-01-10 08:20Alex NeundorfStatusnew => closed
2009-01-10 08:20Alex NeundorfResolutionopen => no change required
2009-01-10 08:20Alex NeundorfCategoryCMake => Modules

Notes
(0014512)
Alex Neundorf   
2009-01-10 08:20   
Instead of setting PYTHON_ROOT it should also work if you set the CMAKE_PREFIX_PATH environment variable, which is a list of directories.
If you set this so it contains also PYTHON_ROOT it should also work.
Please reopen the bug report if that doesn't work for you.

Alex