Skip to content
Snippets Groups Projects
Commit dccff849 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cmake: suppress developer warning in CI

CI knows the situation.
parent dac6cd29
No related branches found
No related tags found
No related merge requests found
......@@ -526,11 +526,14 @@ if (VTK_WRAP_PYTHON)
if (VTK_PYTHON_VERSION STREQUAL "3" AND
Python3_VERSION VERSION_LESS "3.8" AND
WIN32)
message(AUTHOR_WARNING
"Disabling `.pyi` compilation as building it in the wheel does not "
"work. Please update to Python 3.8 for `.pyi` support in Windows "
"wheels. If the interpreter is known to be able to import `vtkmodules`, "
"please set `vtk_python_interpreter_can_import_vtk` to `ON`.")
if ("$ENV{CI}" STREQUAL "")
message(AUTHOR_WARNING
"Disabling `.pyi` compilation as building it in the wheel does not "
"work. Please update to Python 3.8 for `.pyi` support in Windows "
"wheels. If the interpreter is known to be able to import "
"`vtkmodules`, " "please set "
"`vtk_python_interpreter_can_import_vtk` to `ON`.")
endif ()
list(APPEND vtk_python_interpreter_args
INTERPRETER "DISABLE")
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