Add missing python 3 versions to FindPythonLibs.cmake
This commit is contained in:
parent
284904b72c
commit
e729454409
|
@ -44,7 +44,7 @@ cmake_find_frameworks(Python)
|
||||||
|
|
||||||
set(_PYTHON1_VERSIONS 1.6 1.5)
|
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(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
|
||||||
set(_PYTHON3_VERSIONS 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)
|
||||||
if(PythonLibs_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$")
|
if(PythonLibs_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$")
|
||||||
|
|
Loading…
Reference in New Issue