summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-17 18:04:33 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-17 18:04:33 (GMT)
commit6844dfd7ca514e211d111e0a016c67e0a15dfe72 (patch)
tree158d8299fea45415bcffd188936257cb0c0dd8d0 /Source/CursesDialog
parent2a68d21e8550b64641769b11691d74ae9bb37217 (diff)
downloadCMake-6844dfd7ca514e211d111e0a016c67e0a15dfe72.zip
CMake-6844dfd7ca514e211d111e0a016c67e0a15dfe72.tar.gz
CMake-6844dfd7ca514e211d111e0a016c67e0a15dfe72.tar.bz2
some cmake api changees
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index fc31c53..a5b1dce 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -53,6 +53,7 @@ cmCursesMainForm::cmCursesMainForm(std::vector<std::string> const& args,
whereCMake += "/cmake";
m_Args[0] = whereCMake;
m_CMakeInstance->SetArgs(m_Args);
+ m_CMakeInstance->SetCMakeCommand(whereCMake.c_str());
}
cmCursesMainForm::~cmCursesMainForm()
@@ -571,7 +572,7 @@ int cmCursesMainForm::Configure()
// run the generate process
m_OkToGenerate = true;
- int retVal = this->m_CMakeInstance->Configure(m_Args[0].c_str(), &m_Args);
+ int retVal = this->m_CMakeInstance->Configure();
initscr(); /* Initialization */
noecho(); /* Echo off */
@@ -992,6 +993,7 @@ void cmCursesMainForm::LoadCache(const char *dir)
{
m_CMakeInstance->GetCacheManager()->LoadCache(dir);
+ m_CMakeInstance->SetCacheArgs(m_Args);
}