cmake failed to get the value of VCTargetsPath with VS2019 16.7

Try running cmake using the form env TEMP= TMP= cmake ...

do you mean to place this at the top of my build script?