Преглед на файлове

The path found is now collapsed (cleaner).

Sebastien Barre преди 24 години
родител
ревизия
2533d55099
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      Source/cmFindPathCommand.cxx

+ 1 - 0
Source/cmFindPathCommand.cxx

@@ -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(),