- Go to
File->Settings->Build, Execution, Deployment->Toolchains->+->System
- Go to
File->Settings->Build, Execution, Deployment->CMake-> add a new profile with the toolchain you just created namedDebug
- Go to
CMakeLists.txtand reload it
Run build.bat

