Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

CMAKE_MAKE_PROGRAM is not set.



  • 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.html

    cmake uses ninja in your case. Try to install ninja and you will be all right.


Log in to reply