Skip to content
Snippets Groups Projects
Commit 4438aa1d authored by Lars Bilke's avatar Lars Bilke
Browse files

Merge branch 'fix-check-header' into 'master'

[ci] Fix check header and wheels job

See merge request ogs/ogs!4326
parents 020cadd4 75265ba3
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)
...@@ -43,7 +44,7 @@ set(_python_componets Interpreter) ...@@ -43,7 +44,7 @@ set(_python_componets Interpreter)
if(OGS_USE_PYTHON AND NOT OGS_BUILD_WHEEL) if(OGS_USE_PYTHON AND NOT OGS_BUILD_WHEEL)
list(APPEND _python_componets Development.Embed) list(APPEND _python_componets Development.Embed)
endif() endif()
if(OGS_BUILD_PYTHON_MODULE) if(OGS_BUILD_PYTHON_MODULE OR OGS_USE_PYTHON)
list(APPEND _python_componets Development.Module) list(APPEND _python_componets Development.Module)
endif() endif()
if(OGS_USE_PYTHON OR OGS_BUILD_PYTHON_MODULE) if(OGS_USE_PYTHON OR OGS_BUILD_PYTHON_MODULE)
......
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