cmGlobalNinjaGenerator: Fix spelling of "unknown"
This commit is contained in:
parent
82a37d3ce5
commit
ad094f435e
|
@ -1041,21 +1041,21 @@ void cmGlobalNinjaGenerator::WriteUnknownExplicitDependencies(std::ostream& os)
|
||||||
//and knownDependencies so no matter if unix or windows paths they
|
//and knownDependencies so no matter if unix or windows paths they
|
||||||
//should all match now.
|
//should all match now.
|
||||||
|
|
||||||
std::vector<std::string> unkownExplicitDepends;
|
std::vector<std::string> unknownExplicitDepends;
|
||||||
this->CombinedCustomCommandExplicitDependencies.erase("all");
|
this->CombinedCustomCommandExplicitDependencies.erase("all");
|
||||||
|
|
||||||
std::set_difference(this->CombinedCustomCommandExplicitDependencies.begin(),
|
std::set_difference(this->CombinedCustomCommandExplicitDependencies.begin(),
|
||||||
this->CombinedCustomCommandExplicitDependencies.end(),
|
this->CombinedCustomCommandExplicitDependencies.end(),
|
||||||
knownDependencies.begin(),
|
knownDependencies.begin(),
|
||||||
knownDependencies.end(),
|
knownDependencies.end(),
|
||||||
std::back_inserter(unkownExplicitDepends));
|
std::back_inserter(unknownExplicitDepends));
|
||||||
|
|
||||||
|
|
||||||
std::string const rootBuildDirectory =
|
std::string const rootBuildDirectory =
|
||||||
this->GetCMakeInstance()->GetHomeOutputDirectory();
|
this->GetCMakeInstance()->GetHomeOutputDirectory();
|
||||||
for (std::vector<std::string>::const_iterator
|
for (std::vector<std::string>::const_iterator
|
||||||
i = unkownExplicitDepends.begin();
|
i = unknownExplicitDepends.begin();
|
||||||
i != unkownExplicitDepends.end();
|
i != unknownExplicitDepends.end();
|
||||||
++i)
|
++i)
|
||||||
{
|
{
|
||||||
//verify the file is in the build directory
|
//verify the file is in the build directory
|
||||||
|
|
Loading…
Reference in New Issue