summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-07 12:26:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-07 12:26:46 (GMT)
commitc515dc574879448d66e2c5a27b9807d95a27fefd (patch)
tree5e45d34d401173ccae3ef67f048890ead6181a1c /Source
parentd85b06602a8a72b008bd13a9d5fc2c05ec65cc89 (diff)
parent6f98f4ac92a789a310cc7d9965556b4a8439654f (diff)
downloadCMake-c515dc574879448d66e2c5a27b9807d95a27fefd.zip
CMake-c515dc574879448d66e2c5a27b9807d95a27fefd.tar.gz
CMake-c515dc574879448d66e2c5a27b9807d95a27fefd.tar.bz2
Merge topic 'fix-install-include-dirs-processing'
6f98f4a Genex: Fix processing multiple include directories for relative paths
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorExpression.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx
index 127cf6b..d73c72c 100644
--- a/Source/cmGeneratorExpression.cxx
+++ b/Source/cmGeneratorExpression.cxx
@@ -238,9 +238,12 @@ static void prefixItems(const std::string &content, std::string &result,
{
std::vector<std::string> entries;
cmGeneratorExpression::Split(content, entries);
+ const char *sep = "";
for(std::vector<std::string>::const_iterator ei = entries.begin();
ei != entries.end(); ++ei)
{
+ result += sep;
+ sep = ";";
if (!cmSystemTools::FileIsFullPath(ei->c_str())
&& cmGeneratorExpression::Find(*ei) == std::string::npos)
{