[vtk-developers] Missing Includes with new module system

Ben Boeckel ben.boeckel at kitware.com
Fri Jan 11 09:24:48 EST 2019


On Thu, Jan 10, 2019 at 16:12:26 -0800, Bill Lorensen wrote:
> Is there a VTK cmake variable that lists all components in a particular build?

Not from `find_package(VTK)` directly. Currently testing if a component
is available is `if (TARGET VTK::${component})`.

> On Thu, Jan 10, 2019 at 4:10 PM Bill Lorensen <bill.lorensen at gmail.com> wrote:
> >   # FiltersParallelStatistics #  Optional

You can use `OPTIONAL_COMPONENTS` for these.

> > > On Thu, Jan 10, 2019 at 3:27 PM Bill Lorensen <bill.lorensen at gmail.com> wrote:
> > > > VTK_LIBRARIES is empty.

OK, that's a bug. Will make an MR today.

--Ben


More information about the vtk-developers mailing list