CMake 3.16 creates invalid compiler flags for Visual Studio 2017 and x64 platform
When generating a Visual Studio solution with CMake 3.16.5, for the Visual Studio 2017 compiler and x64 platform, CMake generates compiler flags that are not valid for that platform. This results in numerous warnings when building with Visual Studio:
"Command line warning D9002: ignoring unknown option '/arch:SSE2'"
For the x64 platform, CMake should not add this option (/arch:SSE2); searching for this specific warning reveals that I'm not the first one to discover it.
When using CMake 3.12.3, this flag is not generated.