diff options
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index e8ec10e..cdffb56 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -295,6 +295,11 @@ void cmCacheManager::AddCacheEntry(const char* key, CacheEntry e; e.m_Value = value; e.m_Type = type; + // make sure we only use unix style paths + if(type == FILEPATH || type == PATH) + { + cmSystemTools::ConvertToUnixSlashes(e.m_Value); + } e.m_HelpString = helpString; m_Cache[key] = e; } |