Skip to content

ParaViewPlugins: Ensure thirdparty VTK modules are loaded

This commit fixes the configuration of paraview custom application (e.g CMB) depending on VTK modules externally built (e.g SMTK VTK extensions) by updating the "pv_process_modules" macro to use VTK_MODULES_AVAILABLE instead of VTK_MODULES_ENABLED.

Background

Following vtk/vtk@20629593 (ExternalModule: Improve target export to allow build against external module), the variable VTK_MODULES_ENABLED only lists the VTK modules effectively enabled when building VTK, it does NOT list all modules found in the module directory.

Reported-by: Haocheng Liu haocheng.liu@kitware.com

Merge request reports