[CMake] MinGW and sh.exe

Jörg Kreuzberger j.kreuzberger at procitec.de
Wed Jun 17 04:25:40 EDT 2015


Hi!

i get an error at cmake configure step on windows with -G "MinGW Makefiles", if the OpenSSH bin folder is in the PATH environment cause cmake detects sh.exe and then throws an error. This seems to be intended due to this link
http://www.cmake.org/Wiki/CMake_MinGW_Compiler_Issues
But if i now configure a second time, everything is fine and the generated MinGW Makefiles are generated properly and could be build normaly with mingw32-make wihtout any msys or sh environment.

So is the first cmake error an error? The link ist quite old (2006)

Thanks for any help.
Joerg



More information about the CMake mailing list