[cmake-developers] [PATCH] FindPythonLibs patches for version searching and frameworks

Brad King brad.king at kitware.com
Wed Sep 16 09:03:40 EDT 2015


On 09/15/2015 10:09 AM, David Gobbi wrote:
> The first is trivial, it simply adds Python 3.5 and 3.6 to the search list.
> 
> The second removes the long-deprecated PYTHON_INCLUDE_PATH as a suggestion
> for PYTHON_INCLUDE_DIR.

Thanks.  I've applied these two:

 FindPython{Interp,Libs}: Add versions 3.5 and 3.6
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2db092b1

 FindPythonLibs: Remove PYTHON_INCLUDE_PATH as input
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c57334fa

> The third does two important things: 1) it fixes bugs for searching for
> specific versions of the libs and headers for framework installs of
> Python on OS X, and 2) it doesn't search for the include directory
> until after library has been found, so that it can use the library
> version to direct the search for the include directory.

This patch conflicts with post-3.3 changes in CMake 'master'.  Please
rebase on the above-applied commits and revise accordingly.

Thanks,
-Brad



More information about the cmake-developers mailing list