cmake find_package(vtk) examples

opencv/opencv cmake/OpenCVDetectVTK.cmake :2

find_package(VTK QUIET NAMES vtk VTK)

opencv/opencv cmake/OpenCVDetectVTK.cmake :5

find_package(VTK 9 QUIET NAMES vtk COMPONENTS
        FiltersExtraction
        FiltersSources
        FiltersTexture
        IOExport
        IOGeometry
        IOPLY
        InteractionStyle
        RenderingCore
        RenderingLOD
        RenderingOpenGL2
        NO_MODULE)

microsoft/vcpkg ports/itk/portfile.cmake :134

# For 'find_package(vtk)', itk needs to provide the same version of python.