浏览代码

Fix building on NMake. Use short paths

Andy Cedilnik 23 年之前
父节点
当前提交
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;