From bebb6b1767d5edfc9717769fd90bfba58c3d5a8b Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 27 Feb 2006 23:06:44 -0500 Subject: [PATCH] ENH: fix problem if there are .. in the path to the source file specified in a source group --- Source/cmSourceGroupCommand.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx index ba74b15be..aa8ef029d 100644 --- a/Source/cmSourceGroupCommand.cxx +++ b/Source/cmSourceGroupCommand.cxx @@ -124,6 +124,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector const& args) src += "/"; src += args[i]; } + src = cmSystemTools::CollapseFullPath(src.c_str()); sg->AddGroupFile(src.c_str()); } else