فهرست منبع

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() );
     cmRegularExpression reg( RegExp.c_str() );
     if(reg.find(nsOutput.c_str()))
     if(reg.find(nsOutput.c_str()))
       {
       {
-      siteName = reg.match(1);
+      siteName = cmSystemTools::LowerCase(reg.match(1));
       }
       }
     }
     }
-
+  
   m_Makefile->
   m_Makefile->
     AddCacheDefinition("SITE",
     AddCacheDefinition("SITE",
                        siteName.c_str(),
                        siteName.c_str(),