cmGlobalNinjaGenerator: Fix spelling of "unknown"

This commit is contained in:
Brad King 2015-03-18 16:44:05 -04:00
parent 82a37d3ce5
commit ad094f435e
1 changed files with 4 additions and 4 deletions

View File

@ -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