cmGlobalNinjaGenerator: Rename SupportsConsolePool to SupportsDirectConsole

Use a name that is not ninja-specific.
This commit is contained in:
NAKAMURA Takumi
2021-06-29 11:27:07 +09:00
committed by Brad King
parent e062d4a2a3
commit 61a737b088
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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();
}