瀏覽代碼

ENH: drop the case of the site name. This makes it consistent with Dart's usage.

Bill Lorensen 24 年之前
父節點
當前提交
275b334f8b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/cmSiteNameCommand.cxx

+ 2 - 2
Source/cmSiteNameCommand.cxx

@@ -96,10 +96,10 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
     cmRegularExpression reg( RegExp.c_str() );
     if(reg.find(nsOutput.c_str()))
       {
-      siteName = reg.match(1);
+      siteName = cmSystemTools::LowerCase(reg.match(1));
       }
     }
-
+  
   m_Makefile->
     AddCacheDefinition("SITE",
                        siteName.c_str(),