[cmake-developers] [PATCH] FindPython{Interp, Libs}: Add versions 3.7

Chi Hsuan Yen yan12125 at gmail.com
Wed Sep 14 09:05:14 EDT 2016


On Wed, Sep 14, 2016 at 8:54 PM, Yen Chi Hsuan <yan12125 at gmail.com> wrote:

> ---
>  Modules/FindPythonInterp.cmake | 2 +-
>  Modules/FindPythonLibs.cmake   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.
> cmake
> index e194185..4d726f2 100644
> --- a/Modules/FindPythonInterp.cmake
> +++ b/Modules/FindPythonInterp.cmake
> @@ -52,7 +52,7 @@ unset(_Python_NAMES)
>
>  set(_PYTHON1_VERSIONS 1.6 1.5)
>  set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
> -set(_PYTHON3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
> +set(_PYTHON3_VERSIONS 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
>
>  if(PythonInterp_FIND_VERSION)
>      if(PythonInterp_FIND_VERSION_COUNT GREATER 1)
> diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
> index ab92f86..d9916a1 100644
> --- a/Modules/FindPythonLibs.cmake
> +++ b/Modules/FindPythonLibs.cmake
> @@ -84,7 +84,7 @@ set(CMAKE_FIND_FRAMEWORK LAST)
>
>  set(_PYTHON1_VERSIONS 1.6 1.5)
>  set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
> -set(_PYTHON3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
> +set(_PYTHON3_VERSIONS 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
>
>  if(PythonLibs_FIND_VERSION)
>      if(PythonLibs_FIND_VERSION_COUNT GREATER 1)
> --
> 2.9.3
>
>
Hi all,

I use `git send-email -1` to send the previous email. Is it correct? Or I
should attach the patch manually in a new email instead? Thanks.

Regards,

Yen Chi Hsuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160914/3a1d40fa/attachment.html>


More information about the cmake-developers mailing list