[CMake] "CMAKE_MAKE_PROGRAM is not set"

Hendrik Sattler post at hendrik-sattler.de
Tue Oct 28 08:32:37 EDT 2008


Stephen Collyer schrieb:
> I have some code that I've delivered to a 3rd party
> who is now trying to build it. They're using Vista
> and a Visual Studio 2008 environment, with cmake 2.6.1
> 
> They're getting the following errors when trying to run
> cmake. It looks to me like an environment problem of some
> kind, but I've never seen it before:
> 
>> C:\mdp_qt\builds\win32>cmake /DBUILD_SHARED_LIBS=ON ..\..
>> CMake Error: CMake was unable to find a build program corresponding to
>> "Visual Studio 6".  CMAKE_MAKE_PROGRAM is not set.  You probably need to
>> select a different build tool.

If you want nmake, you should give cmake the correct generator value
using -G

HS



More information about the CMake mailing list