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:
parent
1638124680
commit
b6f6654267
|
@ -2797,10 +2797,10 @@ std::vector<std::string> cmTarget::GetIncludeDirectories(const char *config)
|
||||||
|
|
||||||
if(uniqueIncludes.insert(inc).second)
|
if(uniqueIncludes.insert(inc).second)
|
||||||
{
|
{
|
||||||
includes.push_back(*li);
|
includes.push_back(inc);
|
||||||
if (debugIncludes)
|
if (debugIncludes)
|
||||||
{
|
{
|
||||||
usedIncludes += " * " + *li + "\n";
|
usedIncludes += " * " + inc + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue