From 875cd36f9df11be5460ae4e238051aa607286855 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 20 Feb 2025 16:08:21 +0000 Subject: [PATCH] Detect up to python 3.15 * Future proofing I guess --- CMakeLists.txt | 2 +- qrenderdoc/Code/pyrenderdoc/python.props | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9390db0fc..0f3017777 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -471,7 +471,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.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4) + set(Python_ADDITIONAL_VERSIONS 3.15 3.14 3.13 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 6b3df8c76..0b5b15dbf 100644 --- a/qrenderdoc/Code/pyrenderdoc/python.props +++ b/qrenderdoc/Code/pyrenderdoc/python.props @@ -47,6 +47,15 @@ $(RENDERDOC_PYTHON_PREFIX64) +315 +$(PythonMajorMinorTest) + +314 +$(PythonMajorMinorTest) + +313 +$(PythonMajorMinorTest) + 312 $(PythonMajorMinorTest)