Skip to content
Snippets Groups Projects
vtk.cmake 463 B
Newer Older
Soeren Peters's avatar
Soeren Peters committed

#########################################################################
# VTK_DIR needs to bet set to the VTK build directory in the config file.
#########################################################################
find_package(VTK REQUIRED)
    vf_get_library_name(library_name)

    include(${VTK_USE_FILE})
    target_include_directories(${library_name} PRIVATE ${VTK_INCLUDE_DIRS})

    target_link_libraries(${library_name} PRIVATE ${VTK_LIBRARIES})