From b6f66542674cac75821dfb10677bf52318afcda5 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 2 Feb 2013 12:46:30 +0100 Subject: [PATCH] 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. --- Source/cmTarget.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 566987236..132154ccc 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -2797,10 +2797,10 @@ std::vector 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"; } } }