summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceGroupCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-02-28 04:06:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-02-28 04:06:44 (GMT)
commitbebb6b1767d5edfc9717769fd90bfba58c3d5a8b (patch)
treeb5cc9d2060e6411b6a92ff24dd8ca0124fe5855d /Source/cmSourceGroupCommand.cxx
parent4650f78dd5191fdfe7de0fc914c2ba55697dcb14 (diff)
downloadCMake-bebb6b1767d5edfc9717769fd90bfba58c3d5a8b.zip
CMake-bebb6b1767d5edfc9717769fd90bfba58c3d5a8b.tar.gz
CMake-bebb6b1767d5edfc9717769fd90bfba58c3d5a8b.tar.bz2
ENH: fix problem if there are .. in the path to the source file specified in a source group
Diffstat (limited to 'Source/cmSourceGroupCommand.cxx')
-rw-r--r--Source/cmSourceGroupCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx
index ba74b15..aa8ef02 100644
--- a/Source/cmSourceGroupCommand.cxx
+++ b/Source/cmSourceGroupCommand.cxx
@@ -124,6 +124,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector<std::string> const& args)
src += "/";
src += args[i];
}
+ src = cmSystemTools::CollapseFullPath(src.c_str());
sg->AddGroupFile(src.c_str());
}
else