MantisBT - CMake
View Issue Details
0012133CMakeModulespublic2011-04-28 15:112016-06-10 14:31
Clinton Stimpson 
Marcus D. Hanwell 
normalminorhave not tried
closedmoved 
 
 
0012133: FindPythonLibs finds wrong stuff with CMAKE_PREFIX_PATH
If I set the CMAKE_PREFIX_PATH environment variable to the root of some python installation, FindPythonLibs still finds the system install python libraries instead. If I remove the system ones, then it finds the ones I want. If I remove the system ones and unset CMAKE_PREFIX_PATH, then it fails.

So anyway, CMAKE_PREFIX_PATH should have priority.
No tags attached.
Issue History
2011-04-28 15:11Clinton StimpsonNew Issue
2011-04-29 21:22Marcus D. HanwellAssigned To => Marcus D. Hanwell
2011-04-29 21:22Marcus D. HanwellStatusnew => assigned
2013-06-20 07:59Clinton StimpsonNote Added: 0033339
2016-06-10 14:28Kitware RobotNote Added: 0041835
2016-06-10 14:28Kitware RobotStatusassigned => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0033339)
Clinton Stimpson   
2013-06-20 07:59   
This report was originally about finding python on linux. I have a more difficult time on windows with multiple python installations. Its bad enough that i get includes from one and libraries from another. I end up having to specify all python variables myself which defeats the purpose of it being found for me, or being found with some hint.

Can we please make CMAKE_PREFIX_PATH work on windows?
(0041835)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.