CMAKE_MAKE_PROGRAM is not set.
Unsolved
General and Desktop
-
I have tried to compile a C++ Github project, using Qt Creator 4.13.1, on Win10 64bit.
When I loaded CMakeLists.txt into Qt creator, I got:
Running C:\Program Files\CMake\bin\cmake.exe -S C:/Project/myproject/src -B C:/Users/u724776/AppData/Local/Temp/QtCreator-ugpLmP/qtc-cmake-hLotyEKG in C:\Users\u724776\AppData\Local\Temp\QtCreator-ugpLmP\qtc-cmake-hLotyEKG. CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. -- Configuring incomplete, errors occurred!
How can I understand this message ? I didn't heard of "Ninja", I don't have it, why is yelling for that ? How can I overcome this error ?
-
@Flaviu-0 said in CMAKE_MAKE_PROGRAM is not set.:
CMake Error: CMake was unable to find a build program corresponding to "Ninja"
Your problem is not qt related.
https://ninja-build.org/manual.htmlcmake uses ninja in your case. Try to install ninja and you will be all right.