summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2021-06-29 02:27:07 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-29 14:36:03 (GMT)
commit61a737b088717201c331b83bd8794149e5d112e5 (patch)
tree7eddf18bcf067d03189fc571d595663f4ed1b97d /Source/cmLocalNinjaGenerator.cxx
parente062d4a2a3974103f04c90b00519edf5660afa7b (diff)
downloadCMake-61a737b088717201c331b83bd8794149e5d112e5.zip
CMake-61a737b088717201c331b83bd8794149e5d112e5.tar.gz
CMake-61a737b088717201c331b83bd8794149e5d112e5.tar.bz2
cmGlobalNinjaGenerator: Rename SupportsConsolePool to SupportsDirectConsole
Use a name that is not ninja-specific.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 7f7b1e7..9f8e7ed 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -279,7 +279,7 @@ void cmLocalNinjaGenerator::WriteNinjaRequiredVersion(std::ostream& os)
std::string requiredVersion = cmGlobalNinjaGenerator::RequiredNinjaVersion();
// Ninja generator uses the 'console' pool if available (>= 1.5)
- if (this->GetGlobalNinjaGenerator()->SupportsConsolePool()) {
+ if (this->GetGlobalNinjaGenerator()->SupportsDirectConsole()) {
requiredVersion =
cmGlobalNinjaGenerator::RequiredNinjaVersionForConsolePool();
}