PROJECT(VIT)

INCLUDE(${CMAKE_ROOT}/Modules/FindVTK.cmake)
IF(VTK_FOUND)
  INCLUDE("${VTK_USE_FILE}")
  ADD_EXECUTABLE(vit vit.cxx)
  TARGET_LINK_LIBRARIES(vit vtkCommon)
ELSE(VTK_FOUND)
  MESSAGE(SEND_ERROR "VTK not found!")
ENDIF(VTK_FOUND)

PROJECT(VIT)

INCLUDE(${CMAKE_ROOT}/Modules/FindVTK.cmake)
IF(VTK_FOUND)
  INCLUDE("${VTK_USE_FILE}")
  ADD_EXECUTABLE(vit vit.cxx)
  TARGET_LINK_LIBRARIES(vit vtkGraphics)
ELSE(VTK_FOUND)
  MESSAGE(SEND_ERROR "VTK not found!")
ENDIF(VTK_FOUND)

Test now needs to link to vtkGraphics instead of vtkCommon.
ERR: Test now needs to link to vtkGraphics instead of vtkCommon.
