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

David Gobbi david.gobbi at gmail.com
Wed Sep 16 10:00:00 EDT 2015


On Wed, Sep 16, 2015 at 7:03 AM, Brad King <brad.king at kitware.com> wrote:

> 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.
>

I've attached the rebased patch.  It looks like someone had already
fixed the framework library search issue, so this new patch only changes
the search for the include dirs.

Cheers,
 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150916/bafe0912/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindPythonLibs-Match-include-dir-to-library-version.patch
Type: application/octet-stream
Size: 3450 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150916/bafe0912/attachment.obj>


More information about the cmake-developers mailing list