In order to being trapped by this problem your project / environment has to meet following conditions:
- You need to use Windows.
- Your project uses make as a base build system.
- You have available sh.exe as a system command.
- [Optional] You use CMake for a project generation.
Conditions 1 and 2 are pretty easy to fulfill, for the instance you try to compile Emscripten or Android based project. Condition 3 might look pretty odd. Why sh.exe on Windows? To me it was a natural ripple effect of having Git installed with Linux like tools in system PATH. I just love to use ‘ls’ instead of ‘dir’ in command line.