summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-07 19:06:57 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-07-07 19:06:57 (GMT)
commit13e99490fbecaa7985b7ffb7e9f82bc8a01cfee6 (patch)
treed591b405e0c4668f13c3392861d9f4b4042f882d /Source
parentea38258eb315cf4209f01d2d959695cacfd4079d (diff)
downloadCMake-13e99490fbecaa7985b7ffb7e9f82bc8a01cfee6.zip
CMake-13e99490fbecaa7985b7ffb7e9f82bc8a01cfee6.tar.gz
CMake-13e99490fbecaa7985b7ffb7e9f82bc8a01cfee6.tar.bz2
BUG: library return values were not UNIX slashes on Win98
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx8
1 files 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)