summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeNinjaFindMake.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeNinjaFindMake.cmake')
-rw-r--r--Modules/CMakeNinjaFindMake.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeNinjaFindMake.cmake b/Modules/CMakeNinjaFindMake.cmake
index 702af13..32f78da 100644
--- a/Modules/CMakeNinjaFindMake.cmake
+++ b/Modules/CMakeNinjaFindMake.cmake
@@ -4,5 +4,6 @@
find_program(CMAKE_MAKE_PROGRAM
NAMES ninja-build ninja samu
+ NAMES_PER_DIR
DOC "Program used to build from build.ninja files.")
mark_as_advanced(CMAKE_MAKE_PROGRAM)