This is the wrong way to check for libraries now. You can just do if (TARGET VTK::ParallelMPI)
in this case. Note that ParaView finds all of VTK, so you’re OK for now, but in general, a find_package(VTK OPTIONAL_COMPONENTS ParallelMPI)
would be needed to actually make it usable.
The right spelling is PythonCatalyst
. If that succeeds, the target exists and will be usable (spelled ParaView::PythonCatalyst
).
Plugins are not meant to be linked to directly, so the lib
doesn’t matter.
This is done so that any plugin-local modules live right next to the plugin and can easily be moved around as a single unit.
It will always be made; I can look at making its installation suppressed however.
I’ll be working on docs for plugins in 5.7 (and 5.8) via https://gitlab.kitware.com/paraview/paraview/issues/19470 if you want to keep an eye on it.