update CMAKE files to work with Visual Studio 2022
assigned to @LoganAir
enabled an automatic merge when the pipeline for 347d5c07 succeeds
merged
mentioned in commit 1cf3fcd0