diff options
author | Brad King <brad.king@kitware.com> | 2013-08-30 12:09:39 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-08-30 12:09:39 (GMT) |
commit | b62042dbfb422563dc9a240bd89efc28de8e4b17 (patch) | |
tree | 2596c3956d4c42a499bb40368771844bf883f0fc | |
parent | b6fe422a4c0e48d6ae10a5a44892bdac5146acdb (diff) | |
parent | 5e15f398860712930387b78e36a7ae5ab8a9b775 (diff) | |
download | CMake-b62042dbfb422563dc9a240bd89efc28de8e4b17.zip CMake-b62042dbfb422563dc9a240bd89efc28de8e4b17.tar.gz CMake-b62042dbfb422563dc9a240bd89efc28de8e4b17.tar.bz2 |
Merge topic 'normalize-system-includes-check'
5e15f39 Normalize system directories from the interface target property
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 5ce0e6b..62ac263 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -80,6 +80,12 @@ bool cmGeneratorTarget::IsSystemIncludeDirectory(const char *dir, config, false, this->Target, &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); iter = this->SystemIncludesCache.insert(entry).first; } |