diff --git a/win/vs-cfg.cmd b/win/vs-cfg.cmd index 794291792b..a5720c48f0 100644 --- a/win/vs-cfg.cmd +++ b/win/vs-cfg.cmd @@ -104,6 +104,9 @@ IF "!GENERATOR!"=="" IF NOT "%VisualStudioVersion%"=="" ( GOTO :GeneratorValid ) ) + call utils\cecho.cmd 0 12 ^ + "Generator is not provided and VisualStudioVersion='%VisualStudioVersion%' is not supported - cannot proceed." + exit /b 1 ) :: Check that the used CMake version supports the chosen generator