Skip to content

Commit a6355b0

Browse files
ax3lwjakob
authored andcommitted
CMake: Add Python 3.8 to pybind11Tools (#1974)
Add Python 3.8 to considered versions in CMake for additional hints. https://cmake.org/cmake/help/v3.2/module/FindPythonLibs.html
1 parent a83d69e commit a6355b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pybind11Tools.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if(NOT PYBIND11_PYTHON_VERSION)
1212
set(PYBIND11_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling modules")
1313
endif()
1414

15-
set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 3.4)
15+
set(Python_ADDITIONAL_VERSIONS 3.8 3.7 3.6 3.5 3.4)
1616
find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED)
1717

1818
include(CheckCXXCompilerFlag)

0 commit comments

Comments
 (0)