diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-03-10 23:54:06 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-29 17:03:43 (GMT) |
commit | f04e0a2b178ec95138a2fbb7d4f5623ca41385e2 (patch) | |
tree | dfb82108488513bb82acf5736c3750bca3508110 /Modules/CMakeNinjaFindMake.cmake | |
parent | 8451f123503effc219fb1fb816b9659b7e156653 (diff) | |
download | CMake-f04e0a2b178ec95138a2fbb7d4f5623ca41385e2.zip CMake-f04e0a2b178ec95138a2fbb7d4f5623ca41385e2.tar.gz CMake-f04e0a2b178ec95138a2fbb7d4f5623ca41385e2.tar.bz2 |
ninja: Find alternate Ninja-compatible binaries
On Red Hat distros, Ninja is /usr/bin/ninja-build because /usr/bin/ninja
is an IRC bot.
Diffstat (limited to 'Modules/CMakeNinjaFindMake.cmake')
-rw-r--r-- | Modules/CMakeNinjaFindMake.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeNinjaFindMake.cmake b/Modules/CMakeNinjaFindMake.cmake index c3ca767..2f35cf4 100644 --- a/Modules/CMakeNinjaFindMake.cmake +++ b/Modules/CMakeNinjaFindMake.cmake @@ -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) |