summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeNinjaFindMake.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeNinjaFindMake.cmake')
-rw-r--r--Modules/CMakeNinjaFindMake.cmake3
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)