summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-07 14:29:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-07 14:29:25 (GMT)
commit87cbb11742089e8ad957f91d721dc3219b5a360b (patch)
tree6cfe23136ca09ca71cf8c0cbfd0290c49459cdfb /Source/cmCacheManager.cxx
parent8139a3121d0c334ab6feace9f084543a8fd40b3b (diff)
downloadCMake-87cbb11742089e8ad957f91d721dc3219b5a360b.zip
CMake-87cbb11742089e8ad957f91d721dc3219b5a360b.tar.gz
CMake-87cbb11742089e8ad957f91d721dc3219b5a360b.tar.bz2
One more time... case does not matter on cygwin
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 11465d7..9d0a63e 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -252,7 +252,7 @@ bool cmCacheManager::LoadCache(const char* path,
{
std::string currentcwd = path;
std::string oldcwd = this->GetCacheValue("CMAKE_CACHEFILE_DIR");
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__CYGWIN__)
currentcwd = cmSystemTools::LowerCase(currentcwd);
oldcwd = cmSystemTools::LowerCase(oldcwd);
#endif // _WIN32