Просмотр исходного кода

Fix building on NMake. Use short paths

Andy Cedilnik 23 лет назад
Родитель
Сommit
e9fa0d3cbb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmLocalUnixMakefileGenerator.cxx

+ 1 - 1
Source/cmLocalUnixMakefileGenerator.cxx

@@ -547,7 +547,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
       std::string dir, file;
       cmSystemTools::SplitProgramPath(lib->first.c_str(),
                                       dir, file);
-      std::string libpath = cmSystemTools::ConvertToOutputPath(dir.c_str());
+      std::string libpath = this->ConvertToOutputForExisting(dir.c_str());
       if(emitted.insert(libpath).second)
         {
         linkLibs += libPathFlag;