summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-02 11:46:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-05 08:19:27 (GMT)
commitb6f66542674cac75821dfb10677bf52318afcda5 (patch)
tree0c3591bf7c77c7f5f07ee41dbbb9cea2b23db0ec /Source/cmTarget.cxx
parent163812468054601c95ac894703a6299d3b324e22 (diff)
downloadCMake-b6f66542674cac75821dfb10677bf52318afcda5.zip
CMake-b6f66542674cac75821dfb10677bf52318afcda5.tar.gz
CMake-b6f66542674cac75821dfb10677bf52318afcda5.tar.bz2
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.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 5669872..132154c 100644
--- a/Source/cmTarget.cxx
+++ b/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";
}
}
}