diff --git a/SystemTools.cxx b/SystemTools.cxx
index 6453dae4760f11affd6bae89f93b6fe6649a2023..4d0d076f72fe6c3b1faf433b166355c8899eaa4b 100644
--- a/SystemTools.cxx
+++ b/SystemTools.cxx
@@ -2389,6 +2389,7 @@ kwsys_stl::string SystemTools::CollapseFullPath(const char* in_path,
   SystemTools::CheckTranslationPath(newPath);
 #ifdef _WIN32
   newPath = SystemTools::GetActualCaseForPath(newPath.c_str());
+  SystemTools::ConvertToUnixSlashes(newPath);
 #endif
   // Return the reconstructed path.
   return newPath;