summaryrefslogtreecommitdiff
path: root/Source/cmakewizard.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-06 17:09:06 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-06 17:09:06 -0500
commit26ecd7731d5d3c336c1a001549f1aa541d7d6a15 (patch)
tree58f9d2ab4b8efc3ace9ff651730973020bc2b275 /Source/cmakewizard.cxx
parent683c54b787a1ba61691587bd27a44c888f47f3ea (diff)
downloadcmake-26ecd7731d5d3c336c1a001549f1aa541d7d6a15.tar.gz
ENH: call convert to unix slashes for path and filepath entries
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 50a75babc0..5d4415d329 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
{