Blame SOURCES/cmake-ninja.patch

5cd5b1
diff -up cmake-2.8.10.2/Modules/CMakeNinjaFindMake.cmake.ninja cmake-2.8.10.2/Modules/CMakeNinjaFindMake.cmake
5cd5b1
--- cmake-2.8.10.2/Modules/CMakeNinjaFindMake.cmake.ninja	2012-11-27 06:26:32.000000000 -0700
5cd5b1
+++ cmake-2.8.10.2/Modules/CMakeNinjaFindMake.cmake	2013-02-08 09:30:26.437739370 -0700
5cd5b1
@@ -12,6 +12,6 @@
5cd5b1
 # (To distribute this file outside of CMake, substitute the full
5cd5b1
 #  License text for the above reference.)
5cd5b1
 
5cd5b1
-find_program(CMAKE_MAKE_PROGRAM ninja
5cd5b1
+find_program(CMAKE_MAKE_PROGRAM ninja-build
5cd5b1
   DOC "Program used to build from build.ninja files.")
5cd5b1
 mark_as_advanced(CMAKE_MAKE_PROGRAM)
5cd5b1
diff -up cmake-2.8.10.2/Source/cmGlobalNinjaGenerator.cxx.ninja cmake-2.8.10.2/Source/cmGlobalNinjaGenerator.cxx
5cd5b1
--- cmake-2.8.10.2/Source/cmGlobalNinjaGenerator.cxx.ninja	2012-11-27 06:26:33.000000000 -0700
5cd5b1
+++ cmake-2.8.10.2/Source/cmGlobalNinjaGenerator.cxx	2013-02-08 09:32:30.397949661 -0700
5cd5b1
@@ -1034,7 +1034,7 @@ std::string cmGlobalNinjaGenerator::ninj
5cd5b1
              lgen->GetMakefile()->GetRequiredDefinition("CMAKE_MAKE_PROGRAM"),
5cd5b1
                                     cmLocalGenerator::SHELL);
5cd5b1
   }
5cd5b1
-  return "ninja";
5cd5b1
+  return "ninja-build";
5cd5b1
 }
5cd5b1
 
5cd5b1
 void cmGlobalNinjaGenerator::WriteTargetClean(std::ostream& os)