summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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