[CMake] CMAKE - troubles finding executables/paths - Windows 7 / MinGW
Bill Hoffman
bill.hoffman at kitware.com
Tue May 31 14:00:36 EDT 2011
On 5/31/2011 12:57 PM, Bill Lorensen wrote:
> Steve,
>
> I'm not sure why cmake won't find mingw's make. I build with mingw
> every day. If I run the cmake gui from a fresh build tree, I get the
> same error. Then I use the gui to browse to the location of make.exe
> and then all runs fine.
>
That sounds like a pain... Must be something that changed in mingw...
In Modules/CMakeMinGWFindMake.cmake is where the problem must be.
It has this:
FIND_PROGRAM(CMAKE_MAKE_PROGRAM mingw32-make.exe PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin"
c:/MinGW/bin /MinGW/bin)
I am guessing the installer registry changed. If one of you could try
some other paths to try in this find_program, I would be happy to merge
them in to CMake 2.8.5.
Thanks.
-Bill
More information about the CMake
mailing list