the problem is /MP an arg of MSV.
one fast fix is use SED for windows in a batch file.
long time ago i don't use this... xD
execute in the project dir after cmake generate this.
rem fix.bat
@For /f "delims=" %%a in ('"dir flags.make /s /b"') do @sed -i.bak s/\/MP// "%%a"