When I try build using C:\PROGRA~2\Sysprogs\VISUAL~1/ninja.exe command it work, but not work with downloaded ninja from https://ninja-build.org/.
Do you have a special version of ninja ?
“Unfortunately we haven’t finished Secure Boot support in CMake preview release yet.
There’s a list of missing features here:https://docs.espressif.com/projects/esp … cmake.html
This will be coming very soon, but for now if you switch back to GNU Make build system then it should build correctly.”