summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-10-08 17:44:35 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-28 18:16:29 (GMT)
commita15595e4c9ae27677180b0b5374ead7a754be1f7 (patch)
tree5358c20e5b8cc87b46c49c3cc1db530e65222930 /Modules
parent63f149f5989ea4adfa522cec63a954b5059c223c (diff)
downloadCMake-a15595e4c9ae27677180b0b5374ead7a754be1f7.zip
CMake-a15595e4c9ae27677180b0b5374ead7a754be1f7.tar.gz
CMake-a15595e4c9ae27677180b0b5374ead7a754be1f7.tar.bz2
Ninja: Consider 'samu' when looking for CMAKE_MAKE_PROGRAM
`samurai` is an alternative implementation of ninja and is a drop-in replacement. `samu --version` reports the ninja version it is compatible with.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeNinjaFindMake.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeNinjaFindMake.cmake b/Modules/CMakeNinjaFindMake.cmake
index 6a0c47e..702af13 100644
--- a/Modules/CMakeNinjaFindMake.cmake
+++ b/Modules/CMakeNinjaFindMake.cmake
@@ -3,6 +3,6 @@
find_program(CMAKE_MAKE_PROGRAM
- NAMES ninja-build ninja
+ NAMES ninja-build ninja samu
DOC "Program used to build from build.ninja files.")
mark_as_advanced(CMAKE_MAKE_PROGRAM)