ENH: call convert to unix slashes for path and filepath entries

This commit is contained in:
Bill Hoffman 2001-12-06 17:09:06 -05:00
parent 683c54b787
commit 26ecd7731d
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ void cmakewizard::AskUser(const char* key, cmCacheManager::CacheEntry & entry)
if(entry) if(entry)
{ {
entry->m_Value = buffer; entry->m_Value = buffer;
if(entry->m_Type == cmCacheManager::PATH ||
entry->m_Type == cmCacheManager::FILEPATH)
{
cmSystemTools::ConvertToUnixSlashes(entry->m_Value);
}
} }
else else
{ {