From 13e99490fbecaa7985b7ffb7e9f82bc8a01cfee6 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 7 Jul 2005 15:06:57 -0400 Subject: BUG: library return values were not UNIX slashes on Win98 --- Source/cmMakefile.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 3571f8c..f4cd035 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2259,10 +2259,14 @@ std::string cmMakefile::FindLibrary(const char* name, } } // now look for the library in the 64 bit path - return cmSystemTools::FindLibrary(name, path64); + std::string tmp = cmSystemTools::FindLibrary(name, path64); + cmSystemTools::ConvertToUnixSlashes(tmp); + return tmp; } } - return cmSystemTools::FindLibrary(name, path); + std::string tmp = cmSystemTools::FindLibrary(name, path); + cmSystemTools::ConvertToUnixSlashes(tmp); + return tmp; } std::string cmMakefile::GetModulesFile(const char* filename) -- cgit v0.12