MantisBT - CMake
View Issue Details
0014273CMakeModulespublic2013-07-06 05:282016-06-10 14:31
LCID Fire 
Kitware Robot 
normalminoralways
closedmoved 
CMake 2.8.11.2 
 
0014273: PythonLibs sets PYTHON_ variables instead of PythonLibs_
The online documentation says a variable <name>_ is set when find_package is called.
PythonLibs violates that rule by setting PYTHON_. Even a google search could not earth a documentation for this behavior.

For consistency and not forcing people to waste time and eventually having to look at the sourcecode, it should set PythonLibs_* as advertised.
No tags attached.
Issue History
2013-07-06 05:28LCID FireNew Issue
2013-07-08 08:57Brad KingNote Added: 0033501
2016-06-10 14:29Kitware RobotNote Added: 0042313
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0033501)
Brad King   
2013-07-08 08:57   
What documentation says <name>_ will be set for anything besides <name>_FOUND?

The documentation for FindPythonLibs clearly lists PYTHON_ results:

 http://www.cmake.org/cmake/help/v2.8.11/cmake.html#module:FindPythonLibs [^]

It is one of the oldest modules and pre-dates some of the modern conventions.
(0042313)
Kitware Robot   
2016-06-10 14:29   
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.