CMakeLists.txt 347 Bytes
Newer Older
1
cmake_minimum_required(VERSION 3.3...3.12 FATAL_ERROR)
2

Bill Lorensen's avatar
Bill Lorensen committed
3

4 5
PROJECT (Step6)

6 7 8
find_package(VTK REQUIRED)
vtk_module_config(VTK
  vtkCommonCore
9
  vtkFiltersSources
10
  vtkInteractionStyle
11
  vtkInteractionWidgets
12
  vtkRenderingOpenGL2
Bill Lorensen's avatar
Bill Lorensen committed
13
)
14
include(${VTK_USE_FILE})
15

Bill Lorensen's avatar
Bill Lorensen committed
16 17
add_executable(Cone6 MACOSX_BUNDLE Cone6.cxx)
target_link_libraries(Cone6 ${VTK_LIBRARIES})