Commit 4addefd7 authored by Brad King's avatar Brad King 💬
Browse files

BUG: Do not install python modules if VTK_INSTALL_NO_RUNTIME is set.

parent 28be2baf
......@@ -290,6 +290,11 @@ IF(PYTHON_EXECUTABLE)
vtkpython
${vtkpython_pyc_depends})
# If no runtime is to be installed then do not install python modules.
IF(VTK_INSTALL_NO_RUNTIME)
SET(VTK_INSTALL_NO_PYTHON 1)
ENDIF(VTK_INSTALL_NO_RUNTIME)
# Add a rule to use python distutils to install the python wrappers.
IF(NOT VTK_INSTALL_NO_PYTHON)
SET(DOLLAR "$")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment