diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx index 6af0af587..595e23481 100644 --- a/Source/cmSourceFile.cxx +++ b/Source/cmSourceFile.cxx @@ -139,6 +139,7 @@ void cmSourceFile::SetName(const char* name, const char* dir, const char *ext, fname += ext; } m_FullPath = cmSystemTools::CollapseFullPath(fname.c_str(), dir); + cmSystemTools::ConvertToUnixSlashes(m_FullPath); m_SourceExtension = ext; return; }