cmake_minimum_required(VERSION 3.0)
project(ReadMesh)

find_package(VTK)

if(NOT VTK_FOUND)
    message(FATAL "VTK not found")
endif()

include(${VTK_USE_FILE})

add_executable(read_2d_mesh  read_2d_mesh.cpp)
target_link_libraries(read_2d_mesh  ${VTK_LIBRARIES})
