Sfoglia il codice sorgente

Merge topic 'normalize-system-includes-check'

5e15f39 Normalize system directories from the interface target property
Brad King 12 anni fa
parent
commit
b62042dbfb
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      Source/cmGeneratorTarget.cxx

+ 6 - 0
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;
     }