CMake error at CMakeLists.txt

I’m trying to compile a lib (Anjay LwM2M) that I got from github, but the following message is displayed at the terminal:
C:\Projetos\Anjay\Anjay>cmake .
– Building for: NMake Makefiles
CMake Error at CMakeLists.txt:10 (project):

‘nmake’ ‘-?’

failed with:

no such file or directory

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
– Configuring incomplete, errors occurred!

It’s the first time I used Cmake, so I’m unaware of the cause. Thanks for any kind of support.

If you want to use visual studio, run that command form the visual studio command prompt