summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-09-23 14:15:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-09-23 14:15:13 (GMT)
commit7fd080d69503cddd7b80985ee53a83d47880eaa7 (patch)
tree12101c993bfce3b2287c70070742498c8e16422c /Source/CPack
parentb6d799c407b70eb09e72600b9e787d35af09a693 (diff)
downloadCMake-7fd080d69503cddd7b80985ee53a83d47880eaa7.zip
CMake-7fd080d69503cddd7b80985ee53a83d47880eaa7.tar.gz
CMake-7fd080d69503cddd7b80985ee53a83d47880eaa7.tar.bz2
STYLE: fix warning and rename method
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx4
-rw-r--r--Source/CPack/cmCPackGenerator.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index 46117ff..f7593fa 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -886,7 +886,7 @@ int cmCPackGenerator::Initialize(const char* name, cmMakefile* mf,
{
this->MakefileMap = mf;
this->Name = name;
- if ( !this->FindRunningCMake(argv0) )
+ if ( !this->SetCMakeRoot() )
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
"Cannot initialize the generator" << std::endl);
@@ -942,7 +942,7 @@ const char* cmCPackGenerator::GetOption(const char* op)
}
//----------------------------------------------------------------------
-int cmCPackGenerator::FindRunningCMake(const char* arg0)
+int cmCPackGenerator::SetCMakeRoot()
{
// use the CMAKE_ROOT from cmake which should have been
// found by now
diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h
index 0f121b9..228116a 100644
--- a/Source/CPack/cmCPackGenerator.h
+++ b/Source/CPack/cmCPackGenerator.h
@@ -88,7 +88,7 @@ public:
bool IsSet(const char* name) const;
//! Set all the variables
- int FindRunningCMake(const char* arg0);
+ int SetCMakeRoot();
//! Set the logger
void SetLogger(cmCPackLog* log) { this->Logger = log; }