[cmake-developers] [CMake 0012133]: FindPythonLibs finds wrong stuff with CMAKE_PREFIX_PATH

Mantis Bug Tracker mantis at public.kitware.com
Thu Apr 28 15:11:16 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12133 
====================================================================== 
Reported By:                Clinton Stimpson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12133
Category:                   Modules
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-04-28 15:11 EDT
Last Modified:              2011-04-28 15:11 EDT
====================================================================== 
Summary:                    FindPythonLibs finds wrong stuff with
CMAKE_PREFIX_PATH
Description: 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-28 15:11 Clinton StimpsonNew Issue                                    
======================================================================




More information about the cmake-developers mailing list