summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeNinjaFindMake.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeNinjaFindMake.cmake')
-rw-r--r--Modules/CMakeNinjaFindMake.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/Modules/CMakeNinjaFindMake.cmake b/Modules/CMakeNinjaFindMake.cmake
new file mode 100644
index 0000000..2f35cf4
--- /dev/null
+++ b/Modules/CMakeNinjaFindMake.cmake
@@ -0,0 +1,18 @@
+
+#=============================================================================
+# Copyright 2011 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+find_program(CMAKE_MAKE_PROGRAM
+ NAMES ninja-build ninja
+ DOC "Program used to build from build.ninja files.")
+mark_as_advanced(CMAKE_MAKE_PROGRAM)