summaryrefslogtreecommitdiffstats
path: root/Source/cmakewizard.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-06 22:09:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-06 22:09:06 (GMT)
commit26ecd7731d5d3c336c1a001549f1aa541d7d6a15 (patch)
tree58f9d2ab4b8efc3ace9ff651730973020bc2b275 /Source/cmakewizard.cxx
parent683c54b787a1ba61691587bd27a44c888f47f3ea (diff)
downloadCMake-26ecd7731d5d3c336c1a001549f1aa541d7d6a15.zip
CMake-26ecd7731d5d3c336c1a001549f1aa541d7d6a15.tar.gz
CMake-26ecd7731d5d3c336c1a001549f1aa541d7d6a15.tar.bz2
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 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
{