diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx index 8beb59729..1524b5185 100644 --- a/Source/cmLocalUnixMakefileGenerator2.cxx +++ b/Source/cmLocalUnixMakefileGenerator2.cxx @@ -670,6 +670,7 @@ cmLocalUnixMakefileGenerator2 std::string customName = output; cmSystemTools::ReplaceString(customName, "../", "___"); cmSystemTools::ReplaceString(customName, "/", "_"); + cmSystemTools::ReplaceString(customName, ":", "_"); std::string ruleFileName = dir; ruleFileName += "/"; ruleFileName += customName;