The path found is now collapsed (cleaner).

This commit is contained in:
Sebastien Barre 2001-05-24 21:14:53 -04:00
parent d8c34cfb81
commit 2533d55099
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ bool cmFindPathCommand::Invoke(std::vector<std::string>& args)
tryPath += args[1];
if(cmSystemTools::FileExists(tryPath.c_str()))
{
path[k] = cmSystemTools::CollapseFullPath(path[k].c_str());
m_Makefile->AddDefinition(args[0].c_str(), path[k].c_str());
cmCacheManager::GetInstance()->AddCacheEntry(args[0].c_str(),
path[k].c_str(),