Use the result of converting to a unix path.

The commit 18a3195a ('Keep track of INCLUDE_DIRECTORIES as a vector
of structs.', 2012-11-19) moved the handling of includes from
cmGeneratorTarget to cmTarget, but in the process introduced this
bug.
This commit is contained in:
Stephen Kelly 2013-02-02 12:46:30 +01:00
parent 1638124680
commit b6f6654267
1 changed files with 2 additions and 2 deletions

View File

@ -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";
}
}
}