Merge topic 'normalize-system-includes-check'

5e15f39 Normalize system directories from the interface target property
This commit is contained in:
Brad King 2013-08-30 08:09:39 -04:00 committed by CMake Topic Stage
commit b62042dbfb
1 changed files with 6 additions and 0 deletions

View File

@ -80,6 +80,12 @@ bool cmGeneratorTarget::IsSystemIncludeDirectory(const char *dir,
config, false, this->Target, config, false, this->Target,
&dagChecker), result); &dagChecker), result);
} }
for(std::vector<std::string>::iterator li = result.begin();
li != result.end(); ++li)
{
cmSystemTools::ConvertToUnixSlashes(*li);
}
IncludeCacheType::value_type entry(config_upper, result); IncludeCacheType::value_type entry(config_upper, result);
iter = this->SystemIncludesCache.insert(entry).first; iter = this->SystemIncludesCache.insert(entry).first;
} }