Skip to content
Snippets Groups Projects
Commit 9c31f787 authored by David Gobbi's avatar David Gobbi
Browse files

Use VTK_USE_TK to enable or disable RenderingTk

This restores earlier behavior of this option.
parent 34f497b3
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,14 @@ else ()
list(APPEND vtk_rejected_modules
VTK::Java)
endif ()
# For vtkTkRenderWidget (only useful with Python, since WRAP_TCL is gone)
if (VTK_USE_TK)
set(VTK_GROUP_ENABLE_Tk YES)
else ()
set(_vtk_module_group_default_Tk "DONT_WANT")
list(APPEND vtk_rejected_modules
VTK::RenderingTk)
endif ()
if (VTK_USE_MPI)
set(VTK_GROUP_ENABLE_MPI ON)
else ()
......
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