mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
ninja: De-duplicate version numbers required for ninja features
This commit is contained in:
@@ -766,7 +766,8 @@ bool cmGlobalNinjaGenerator::CheckFortran(cmMakefile* mf) const
|
||||
e <<
|
||||
"The Ninja generator does not support Fortran using Ninja version\n"
|
||||
" " << this->NinjaVersion << "\n"
|
||||
"due to lack of required features. Ninja 1.10 or higher is required."
|
||||
"due to lack of required features. "
|
||||
"Ninja " << RequiredNinjaVersionForDyndeps() << " or higher is required."
|
||||
;
|
||||
/* clang-format on */
|
||||
mf->IssueMessage(MessageType::FATAL_ERROR, e.str());
|
||||
@@ -785,7 +786,9 @@ bool cmGlobalNinjaGenerator::CheckISPC(cmMakefile* mf) const
|
||||
e <<
|
||||
"The Ninja generator does not support ISPC using Ninja version\n"
|
||||
" " << this->NinjaVersion << "\n"
|
||||
"due to lack of required features. Ninja 1.10 or higher is required."
|
||||
"due to lack of required features. "
|
||||
"Ninja " << RequiredNinjaVersionForMultipleOutputs() <<
|
||||
" or higher is required."
|
||||
;
|
||||
/* clang-format on */
|
||||
mf->IssueMessage(MessageType::FATAL_ERROR, e.str());
|
||||
|
||||
Reference in New Issue
Block a user