Was our original premise wrong and it doesn’t actually pick it from the environment even though it’s readily available there? I am fairly certain this used to work at some point.
Thanks for any insights.
PS: the installed CMake is the latest one as per WinGet, which is why it’s this one and not 4.3.0.
My experience has been that CMake always picks the newest version of VS installed that it can detect. If you want a specific version of VS you specify it explicitly in the generator.