ninja: Find alternate Ninja-compatible binaries
On Red Hat distros, Ninja is /usr/bin/ninja-build because /usr/bin/ninja is an IRC bot.
This commit is contained in:
parent
8451f12350
commit
f04e0a2b17
|
@ -12,6 +12,7 @@
|
|||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
find_program(CMAKE_MAKE_PROGRAM ninja
|
||||
find_program(CMAKE_MAKE_PROGRAM
|
||||
NAMES ninja-build ninja
|
||||
DOC "Program used to build from build.ninja files.")
|
||||
mark_as_advanced(CMAKE_MAKE_PROGRAM)
|
||||
|
|
Loading…
Reference in New Issue