PROJECT (Step5) FIND_PACKAGE(VTK REQUIRED) IF(NOT VTK_USE_RENDERING) MESSAGE(FATAL_ERROR "Example ${PROJECT_NAME} requires VTK_USE_RENDERING.") ENDIF(NOT VTK_USE_RENDERING) INCLUDE(${VTK_USE_FILE}) ADD_EXECUTABLE(Cone5 Cone5.cxx) TARGET_LINK_LIBRARIES(Cone5 vtkRendering)