Skip to content
Snippets Groups Projects
Verified Commit 75265ba3 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] Bump maximum Python version for OGS_USE_PYTHON to 3.11.

parent b566f6b6
No related branches found
No related tags found
No related merge requests found
# cmake-lint: disable=C0103 # cmake-lint: disable=C0103
if(OGS_USE_PYTHON) if(OGS_USE_PYTHON)
set(_python_version_max "...<3.11") set(_python_version_max "...<3.12")
endif() endif()
if(OGS_USE_PIP) if(OGS_USE_PIP)
set(_python_version_max "...<3.11") # There are no VTK wheels for >3.10
set(Python_ROOT_DIR ${PROJECT_BINARY_DIR}/.venv) set(Python_ROOT_DIR ${PROJECT_BINARY_DIR}/.venv)
set(CMAKE_REQUIRE_FIND_PACKAGE_Python TRUE) set(CMAKE_REQUIRE_FIND_PACKAGE_Python TRUE)
if(NOT EXISTS ${PROJECT_BINARY_DIR}/.venv) if(NOT EXISTS ${PROJECT_BINARY_DIR}/.venv)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment