summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-27 21:05:11 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-27 21:05:11 (GMT)
commit7dcfdf5005adf43a13c48a917066d8bc115d0d96 (patch)
tree628ce1ba15674f596b63b7dbf1477cc9c9bc2902 /Source/kwsys/SystemTools.cxx
parent4f88f7e4deca19e5b3955c32c6d3f9f960a8ea01 (diff)
downloadCMake-7dcfdf5005adf43a13c48a917066d8bc115d0d96.zip
CMake-7dcfdf5005adf43a13c48a917066d8bc115d0d96.tar.gz
CMake-7dcfdf5005adf43a13c48a917066d8bc115d0d96.tar.bz2
BUG: fix install problem on make and allow symlinks to cmake bin directory
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index f6047a2..4815ffd 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -2434,6 +2434,13 @@ kwsys_stl::string SystemTools
return "";
}
+kwsys_stl::string SystemTools::GetRealPath(const char* path)
+{
+ kwsys_stl::string ret;
+ Realpath(path, ret);
+ return ret;
+}
+
bool SystemTools::FileIsDirectory(const char* name)
{
// Remove any trailing slash from the name.