summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-08-10 18:40:17 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-08-10 18:40:17 (GMT)
commit491dddfbdeb7b958805e931b37783cca448eb8d8 (patch)
tree85f352d954423ebed6680f46f3f6e6d3b9118f0d /Source/cmcmd.cxx
parentd8f7a05b372f36c62e770dac37f5641c7ce0780b (diff)
downloadCMake-491dddfbdeb7b958805e931b37783cca448eb8d8.zip
CMake-491dddfbdeb7b958805e931b37783cca448eb8d8.tar.gz
CMake-491dddfbdeb7b958805e931b37783cca448eb8d8.tar.bz2
Bootstrap: Add support for Ninja
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 1a5fea1..47dc0c9 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -1161,7 +1161,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args)
return cmcmd::ExecuteLinkScript(args);
}
-#ifndef CMAKE_BOOTSTRAP
+#if !defined(CMAKE_BOOTSTRAP) || defined(CMAKE_BOOTSTRAP_NINJA)
// Internal CMake ninja dependency scanning support.
if (args[1] == "cmake_ninja_depends") {
return cmcmd_cmake_ninja_depends(args.begin() + 2, args.end());