Bug with Cpp Standard 20

I am trying to build VTK with CPP standard 20 and getting the following errors:
vtkSMPToolsImpl.cxx.obj : error LNK2005: “public: __cdecl vtk::detail::smp::vtkSMPToolsImpl<2>::vtkSMPToolsImpl<2>(void)” (??0?$vtkSMPToolsImpl@$01@smp@detail@vtk@@QEAA@XZ) already defined in vtkSMPToolsAPI.obj

and
vtkCommonCore.dll : fatal error LNK1169: one or more multiply defined symbols found [C:\Users\build\Common\Core\CommonCore.vcxproj]

Any idea how to solve these?

This was previously reported in issue #19482.
It is fixed in the VTK master branch.