windows-latest now resolves to the windows-2025-vs2026 image, which no longer ships Visual Studio 2022: the 'Visual Studio 17 2022' CMake generator and the hardcoded vcvars64.bat path both fail. Use ilammy/msvc-dev-cmd (vswhere-based, version agnostic) to set up cl.exe and the Ninja generator for the CMake jobs.