VST3 Project Generator unable to fully build project

Recently, I downloaded the VST3 SDK from 3rd-Party Developers Support & SDKs | Steinberg. Even though i followed the instructions on how to use it, it stopped with this message in the console.

Unknown CMake command “setupPlatformToolset”.

I’m using the latest version of CMake and I set the executable path to C:\Program Files\CMake\bin\CMake.exe in the generator’s settings.
I’ve spent a while trying to fix it so if anyone knows how please reply

Can you please post the full output.
Thanks.

I assume that the spaces in the path to your plug-in might be the problem. As a workaround, can you please try to replace the spaces by e.g. “_” (underline) within the file path:

“C:/Users/GRT30/Documents/VST_Programming_stuff/myStuff\AnEffect”

René