diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-24 22:46:49 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-24 22:46:49 (GMT) |
commit | d680e51777b26789f57f9e18c74f4df269310250 (patch) | |
tree | 5e15847b834ece5b3bbf8c80fafe813bba6383db /Source/kwsys | |
parent | ea258e9a1a3a4fb77e41539f1914ea99ed0d7af7 (diff) | |
download | CMake-d680e51777b26789f57f9e18c74f4df269310250.zip CMake-d680e51777b26789f57f9e18c74f4df269310250.tar.gz CMake-d680e51777b26789f57f9e18c74f4df269310250.tar.bz2 |
ENH: fix relative paths in xcode
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 58bdf07..a5a196c 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1756,6 +1756,7 @@ kwsys_stl::string SystemTools::CollapseFullPath(const char* in_relative, void SystemTools::SplitPath(const char* p, kwsys_stl::vector<kwsys_stl::string>& components) { + components.clear(); // Identify the root component. const char* c = p; if(c[0] == '/' && c[1] == '/') |