project (${WIKI}Video)

if(NOT WikiExamples_BINARY_DIR)
find_package(VTK REQUIRED)
if(NOT VTK_USE_RENDERING)
  message(FATAL_ERROR "Example ${PROJECT_NAME} requires VTK_USE_RENDERING.")
endif()
include(${VTK_USE_FILE})
endif()

include(${WikiExamples_SOURCE_DIR}/CMake/RequiresSettingOn.cmake)

Requires_Setting_On(vtkAVIWriter VTK_USE_VIDEO_FOR_WINDOWS)
if(WIN32)
  if(VTK_USE_VIDEO_FOR_WINDOWS)
    set(KIT_LIBS ${KIT_LIBS} vfw32)
  endif()
endif()
Requires_Setting_On(AVI VTK_USE_VIDEO_FOR_WINDOWS)
Requires_Setting_On(MPEG2 VTK_USE_MPEG2_ENCODER)
Requires_Setting_On(FFMPEG VTK_USE_FFMPEG2_ENCODER)
Requires_Setting_On(OggTheora VTK_USE_OGGTHEORA_ENCODER)
