summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/ccmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-28 20:35:54 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-28 20:35:54 (GMT)
commite8d0e8088f7caff5a26ae266f61dd9669ad3c638 (patch)
treec8bf4b9d88ae9b8c14dc3ba1abb380d790eafb6f /Source/CursesDialog/ccmake.cxx
parent7ebbc4399c12b0222fb15f8ce21b83ad948b5ee4 (diff)
downloadCMake-e8d0e8088f7caff5a26ae266f61dd9669ad3c638.zip
CMake-e8d0e8088f7caff5a26ae266f61dd9669ad3c638.tar.gz
CMake-e8d0e8088f7caff5a26ae266f61dd9669ad3c638.tar.bz2
some changes in cachemanager and singletons
Diffstat (limited to 'Source/CursesDialog/ccmake.cxx')
-rw-r--r--Source/CursesDialog/ccmake.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 8c9a3c3..444eb2c 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -96,8 +96,6 @@ int main(int argc, char** argv)
cmSystemTools::DisableRunCommandOutput();
- cmCacheManager::GetInstance()->LoadCache(cacheDir.c_str());
-
if (debug)
{
cmCursesForm::DebugStart();
@@ -128,6 +126,7 @@ int main(int argc, char** argv)
cmCursesMainForm* myform;
myform = new cmCursesMainForm(args, x);
+ myform->LoadCache(cacheDir.c_str());
cmSystemTools::SetErrorCallback(CMakeErrorHandler);