diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-08-11 14:54:35 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-08-11 14:54:35 (GMT) |
commit | 7de2d93d1a0daae74861fee95326fae3829ad9f8 (patch) | |
tree | bb713092819297ef099a1eb409b363f29f42eba7 /Source/kwsys/SystemTools.cxx | |
parent | fd56f7247a5689200e66dbc3d0dc7afbbca13d75 (diff) | |
download | CMake-7de2d93d1a0daae74861fee95326fae3829ad9f8.zip CMake-7de2d93d1a0daae74861fee95326fae3829ad9f8.tar.gz CMake-7de2d93d1a0daae74861fee95326fae3829ad9f8.tar.bz2 |
ENH: fix for AddKeepPath not calling realpath
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index f4071d7..19462af 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -2441,7 +2441,8 @@ void SystemTools::AddTranslationPath(const char * a, const char * b) void SystemTools::AddKeepPath(const char* dir) { - kwsys_stl::string cdir = SystemTools::CollapseFullPath(dir); + kwsys_stl::string cdir; + Realpath(SystemTools::CollapseFullPath(dir).c_str(), cdir); SystemTools::AddTranslationPath(cdir.c_str(), dir); } |