cmake_minimum_required(VERSION 3.14 FATAL_ERROR) project(RenderLargeCoords) find_package(VTK COMPONENTS CommonCore InteractionStyle IOLegacy RenderingCore RenderingFreeType RenderingOpenGL2 ) add_executable(renderLargeCoords renderLargeCoords.cxx ) target_link_libraries(renderLargeCoords PRIVATE ${VTK_LIBRARIES}) vtk_module_autoinit(TARGETS renderLargeCoords MODULES ${VTK_LIBRARIES})