Build VTK as part of the SimMedTK superbuild.
This adds VTK as a dependency of SimMedTK. It is a small-ish build of VTK, with just the kits required by vtkRenderingOpenGL2 (32 in all).
Discussion
Some things to consider
- Are additional kits needed for Ricardo's VTK branch?
- CMake will complain that SimMedTK does not use the
VTK_DIR
setting passed to it from the superbuild. This warning should go away once Ricardo's branch is merged. - Should the OpenGL2 backend be forced? (I assume this would be wise.)
- Should VTK be installed to SimMedTK-build? It needs to be installed somewhere so that the
lib/cmake/vtk-6.3/VTKConfig.cmake
file exists and can be used.