How to fix: CMake Error Found relative path while evaluating include directories of

vtk_module_autoinit doesn’t work this way. The problem here:

${VTK_TARGETS} is a list and should not be quoted so that it expands as distinct arguments.