Ah.you need to do:
vtk_module_autoinit(TARGETS foo MODULES VTK::CommonCore)
The components are the post-::
part of the targets; VTK
is the package part.
Ah.you need to do:
vtk_module_autoinit(TARGETS foo MODULES VTK::CommonCore)
The components are the post-::
part of the targets; VTK
is the package part.