summaryrefslogtreecommitdiff
path: root/Source/cmSiteNameCommand.cxx
diff options
context:
space:
mode:
authorBill Lorensen <lorensen@crd.ge.com>2001-09-12 17:09:40 -0400
committerBill Lorensen <lorensen@crd.ge.com>2001-09-12 17:09:40 -0400
commit275b334f8be1bd06d807ac9a5c1cb4cb66d6e26c (patch)
treebee04e7a89fb764a049b7d55ac385ebeaa17b223 /Source/cmSiteNameCommand.cxx
parent1e9fbdc38cad9519024a7302fabefd0d792aa039 (diff)
downloadcmake-275b334f8be1bd06d807ac9a5c1cb4cb66d6e26c.tar.gz
ENH: drop the case of the site name. This makes it consistent with Dart's usage.
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r--Source/cmSiteNameCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx
index c6999a1481..c629c4415c 100644
--- a/Source/cmSiteNameCommand.cxx
+++ b/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(),