summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-06 22:39:16 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-06 22:39:16 (GMT)
commit88e1571c76529c17a76adcacbd4573b4879e1bee (patch)
tree69d50dc79f6a684903da441fe9df56acd56c38e4 /Source/CursesDialog
parentb41978fef7280baf870d8d6af6f09f317e2c0db2 (diff)
downloadCMake-88e1571c76529c17a76adcacbd4573b4879e1bee.zip
CMake-88e1571c76529c17a76adcacbd4573b4879e1bee.tar.gz
CMake-88e1571c76529c17a76adcacbd4573b4879e1bee.tar.bz2
BUG#129: Fixed load/save of CMakeCache.txt when it is not in the current directory.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index ccd27ac..7bfbef4 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -639,8 +639,7 @@ int cmCursesMainForm::Configure(int noconfigure)
// always save the current gui values to disk
this->FillCacheManagerFromUI();
this->m_CMakeInstance->GetCacheManager()->SaveCache(
- cmSystemTools::GetCurrentWorkingDirectory().c_str());
-
+ m_CMakeInstance->GetHomeOutputDirectory());
// Get rid of previous errors
m_Errors = std::vector<std::string>();