CMakeLists.txt 383 Bytes
Newer Older
Berk Geveci's avatar
Berk Geveci committed
1
2
PROJECT (AMR)

3
IF(NOT VTK_BINARY_DIR)
4
5
6
7
FIND_PACKAGE(VTK REQUIRED)
IF(NOT VTK_USE_RENDERING)
  MESSAGE(FATAL_ERROR "Example ${PROJECT_NAME} requires VTK_USE_RENDERING.")
ENDIF(NOT VTK_USE_RENDERING)
8
INCLUDE(${VTK_USE_FILE})
9
ENDIF(NOT VTK_BINARY_DIR)
Berk Geveci's avatar
Berk Geveci committed
10

11
ADD_EXECUTABLE(HierarchicalBoxPipeline HierarchicalBoxPipeline.cxx)
Berk Geveci's avatar
Berk Geveci committed
12
TARGET_LINK_LIBRARIES(HierarchicalBoxPipeline vtkRendering vtkIO)