[Qt-creator] {macOS} Where to set CMAKE_MAKE_PROGRAM?

Andy asmaloney at gmail.com
Tue Apr 7 21:39:01 CEST 2020


(Using Qt Creator 4.11.2)

I've recently switched to building with ninja. I have it installed using
homebrew and it is in my PATH.

When I try to set up a cmake-based project with Creator, I get this:

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.


I found this bug report, but it is closed and doesn't seem to provide a
solution:


https://bugreports.qt.io/browse/QTCREATORBUG-17566


I have tried setting CMAKE_MAKE_PROGRAM in my kit's "Environment", but that
didn't do anything.


Where am I supposed to set this so Creator can find ninja?


---
Andy Maloney  //  https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20200407/10b83b3c/attachment.html>


More information about the Qt-creator mailing list