From 6844dfd7ca514e211d111e0a016c67e0a15dfe72 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 17 Sep 2002 14:04:33 -0400 Subject: some cmake api changees --- Source/CursesDialog/cmCursesMainForm.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 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); } -- cgit v0.12