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)
