mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-03 05:53:21 +08:00
pybind11Tools.cmake: search for Python 3.9
This commit is contained in:
parent
4f72ef846f
commit
bb9c91cce8
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user