Browse Source

Fix building on NMake. Use short paths

Andy Cedilnik 23 years ago
parent
commit
e9fa0d3cbb
1 changed files with 1 additions and 1 deletions
  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;
       std::string dir, file;
       cmSystemTools::SplitProgramPath(lib->first.c_str(),
       cmSystemTools::SplitProgramPath(lib->first.c_str(),
                                       dir, file);
                                       dir, file);
-      std::string libpath = cmSystemTools::ConvertToOutputPath(dir.c_str());
+      std::string libpath = this->ConvertToOutputForExisting(dir.c_str());
       if(emitted.insert(libpath).second)
       if(emitted.insert(libpath).second)
         {
         {
         linkLibs += libPathFlag;
         linkLibs += libPathFlag;