SNL: CMake fails at creating VTK project on Windows
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The problem occurs when the 3 following conditions are met:
WIN32 & (NOT BORLAND) & (NOT CYGWIN)
The problem is due to the file Wrapping/Tcl/vtkDetermineTkResources.cmake
where the function VTK_GET_TCL_TK_VERSION is unknown. A way to workaround this is adding the following line just before the first occurence of VTK_GET_TCL_TK_VERSION (line 4)
INCLUDE(${VTK_SOURCE_DIR}/CMake/vtkTclTkMacros.cmake)