This commit appears to have broken the build for us:
https://gitlab.kitware.com/vtk/vtk/-/commit/140f8d8bcd85cedd7ac996c806f984add70bb11d
I can look into it, but any hints towards other projects that use an external module after VTK has been built would be very helpful.