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

[cmake] Fail early if poetry did not succeed.

parent 93b07e9c
No related branches found
No related tags found
No related merge requests found
...@@ -253,6 +253,12 @@ if(POETRY) ...@@ -253,6 +253,12 @@ if(POETRY)
set(_OGS_PYTHON_PACKAGES_SHA1 "${_ogs_python_packages_sha1}" set(_OGS_PYTHON_PACKAGES_SHA1 "${_ogs_python_packages_sha1}"
CACHE INTERNAL "" CACHE INTERNAL ""
) )
else()
message(
FATAL_ERROR
"Installation of Python packages via poetry failed!\n"
"To disable poetry set OGS_USE_POETRY=OFF."
)
endif() endif()
endif() endif()
endif() endif()
......
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