FindPython: Add support for version 3.8

Python 3.7 is about to be released, making the development version 3.8.
This commit is contained in:
Marcel Plch
2018-06-08 13:06:06 +02:00
committed by Brad King
parent 90ebc32d9e
commit b6e7f2c37f
3 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,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.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
set(_PYTHON3_VERSIONS 3.8 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)