encounter the error of unrecognized MAVC version 1940 when super build paraview. VC version 2022. the command is cmake -GNinja -D CMAKE_BUILD_TYPE=Release ../paraview-superbuild
and paraview super build tag is v5.12.1
Can you please give the full error with backtrace?
Did you run git submodule update
when checking out the 5.12.1 tag?
This was fixed recently in https://gitlab.kitware.com/paraview/common-superbuild/-/merge_requests/654
5.12.1 does not contain the fix.