[CMake] CMAKE_MAKE_PROGRAM is not set.

Daniel Nelson torham at connect2.com
Thu Apr 16 16:51:35 EDT 2009


On Thursday 16 April 2009 8:29:11 am Piotr Dobrogost wrote:
> Hi
>
> I'm trying to use cmake 2.6-patch 3 on Vista x64 with VS2008 to build curl.
>
> After setting VC variables with vcvarsall.bat from VC's folder and after
> this command
> cmake -G "NMake Makefiles" ..\curl
>
> I'm getting this error
> CMake Error: CMake was unable to find a build program corresponding to
> "NMake Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to
> select a different build tool.
>
> I don't get this error in GUI.
> What's wrong?

This usually means nmake.exe was not found in your PATH.  It looks like it 
should have been set by vcvarsall.bat but I've haven't actually tried it, I 
usually build using nmake from a cygwin bash shell.
--
Daniel


More information about the CMake mailing list