summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-04 19:17:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-04 19:18:23 (GMT)
commitf55593a607782dd1ea7fa3f2c1cedca7a05c5ae4 (patch)
treeb1ac8e78e70b71023aa266464d352165718dd29b /Modules
parent73848a75e84cd265acba897c6dc3ace3099a8bc9 (diff)
parentfeb5cb8d9d9a334c34e8cc30c9970fd5d71d25fd (diff)
downloadCMake-f55593a607782dd1ea7fa3f2c1cedca7a05c5ae4.zip
CMake-f55593a607782dd1ea7fa3f2c1cedca7a05c5ae4.tar.gz
CMake-f55593a607782dd1ea7fa3f2c1cedca7a05c5ae4.tar.bz2
Merge topic 'ninja-tool'
feb5cb8d9d Ninja: Prefer first ninja tool available in PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4091
Diffstat (limited to 'Modules')
-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)