diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-02-02 11:46:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-02-05 08:19:27 (GMT) |
commit | b6f66542674cac75821dfb10677bf52318afcda5 (patch) | |
tree | 0c3591bf7c77c7f5f07ee41dbbb9cea2b23db0ec /Source/cmTarget.cxx | |
parent | 163812468054601c95ac894703a6299d3b324e22 (diff) | |
download | CMake-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.cxx | 4 |
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"; } } } |