summaryrefslogtreecommitdiffstats
path: root/Source/cmakewizard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmakewizard.cxx')
-rw-r--r--Source/cmakewizard.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmakewizard.cxx b/Source/cmakewizard.cxx
index 50a75ba..5d4415d 100644
--- a/Source/cmakewizard.cxx
+++ b/Source/cmakewizard.cxx
@@ -24,6 +24,11 @@ void cmakewizard::AskUser(const char* key, cmCacheManager::CacheEntry & entry)
if(entry)
{
entry->m_Value = buffer;
+ if(entry->m_Type == cmCacheManager::PATH ||
+ entry->m_Type == cmCacheManager::FILEPATH)
+ {
+ cmSystemTools::ConvertToUnixSlashes(entry->m_Value);
+ }
}
else
{