Currently trying to setup my C development environment on windows with MinGW and it looks like CMAKE is giving me the following error:
sh.exe was found in your P
For me, this simple parameter passed to cmake has worked -DCMAKE_SH="CMAKE_SH-NOTFOUND".
-DCMAKE_SH="CMAKE_SH-NOTFOUND"