From e9fa0d3cbbd7e7597fce64cf55d4b4a47038c489 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 14 Nov 2002 09:37:58 -0500 Subject: Fix building on NMake. Use short paths --- Source/cmLocalUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index fdb2234..1f4240c 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/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; -- cgit v0.12