Просмотр исходного кода

Merge topic 'fix-include-directories-unix-path'

b6f6654 Use the result of converting to a unix path.
Brad King 13 лет назад
Родитель
Сommit
d1660f0895
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Source/cmTarget.cxx

+ 2 - 2
Source/cmTarget.cxx

@@ -2797,10 +2797,10 @@ std::vector<std::string> cmTarget::GetIncludeDirectories(const char *config)
 
       if(uniqueIncludes.insert(inc).second)
         {
-        includes.push_back(*li);
+        includes.push_back(inc);
         if (debugIncludes)
           {
-          usedIncludes += " * " + *li + "\n";
+          usedIncludes += " * " + inc + "\n";
           }
         }
       }