diff --git a/CMakeLists.txt b/CMakeLists.txt index 1298bcd5f..09eb367a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -480,7 +480,7 @@ add_subdirectory(renderdoc) # are handled in common if(ENABLE_QRENDERDOC OR ENABLE_PYRENDERDOC) # Make sure Python 3 is found - set(Python_ADDITIONAL_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4) + set(Python_ADDITIONAL_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4) if(NOT ${CMAKE_VERSION} VERSION_LESS "3.12") find_package(Python3 COMPONENTS Interpreter Development REQUIRED) set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE}) diff --git a/qrenderdoc/Code/pyrenderdoc/python.props b/qrenderdoc/Code/pyrenderdoc/python.props index c3bd87717..f086d97ec 100644 --- a/qrenderdoc/Code/pyrenderdoc/python.props +++ b/qrenderdoc/Code/pyrenderdoc/python.props @@ -42,6 +42,15 @@ $(RENDERDOC_PYTHON_PREFIX64) +312 +$(PythonMajorMinorTest) + +311 +$(PythonMajorMinorTest) + +310 +$(PythonMajorMinorTest) + 39 $(PythonMajorMinorTest)