CMAKE is unable to build RP-2040-HAT-FREERTS-C

PICO is installed in C drive there examples are easily build but when I am trying to build RP2040-HAT- FREERTOS-C which is installed in D drive it shows this error.

Please help me on this .

I suspect there is a toolchain file intended to be used here? If not, the Ninja generator requires that the environment be set up prior to using it; has VSCode set that environment up?