mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
ENH: fix for AddKeepPath not calling realpath
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user