Skip to content

vtkModule: fix the "needs _FOUND" check for optional deps

Instead of the package name, check whether it is imported or not. This supports both the original case and ParaView's vendoring of VTK where targets are in a different "package", but do not provide _FOUND variables as they are built with ParaView.


Backport: paraview/release

Merge request reports