cmake_minimum_required(VERSION 3.15) project(vtk_test CXX) find_package(VTK CONFIG REQUIRED) add_executable(vtk_test) target_sources(vtk_test PRIVATE main.cpp) target_link_libraries(vtk_test ${VTK_LIBRARIES})