Commit bb9c91cc by Wenzel Jakob

pybind11Tools.cmake: search for Python 3.9

parent 4f72ef84
...@@ -12,7 +12,7 @@ if(NOT PYBIND11_PYTHON_VERSION) ...@@ -12,7 +12,7 @@ if(NOT PYBIND11_PYTHON_VERSION)
set(PYBIND11_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling modules") set(PYBIND11_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling modules")
endif() 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) find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED)
include(CheckCXXCompilerFlag) include(CheckCXXCompilerFlag)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment