pybind11Tools.cmake: search for Python 3.9

This commit is contained in:
Wenzel Jakob 2020-03-04 16:17:20 +01:00
parent 4f72ef846f
commit bb9c91cce8

View File

@ -12,7 +12,7 @@ if(NOT PYBIND11_PYTHON_VERSION)
set(PYBIND11_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling modules")
endif()
set(Python_ADDITIONAL_VERSIONS 3.8 3.7 3.6 3.5 3.4)
set(Python_ADDITIONAL_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4)
find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED)
include(CheckCXXCompilerFlag)