summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-07-16 14:15:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-07-16 14:15:17 (GMT)
commit42e3ee8c0501e6263bedc10a6801348cee50a99f (patch)
treec53e119bcc25c4003ef2955136af787c0c0fb0f9 /Source
parent556d27c9eb075dfedb4c1262d51138f2ddf5daad (diff)
downloadCMake-42e3ee8c0501e6263bedc10a6801348cee50a99f.zip
CMake-42e3ee8c0501e6263bedc10a6801348cee50a99f.tar.gz
CMake-42e3ee8c0501e6263bedc10a6801348cee50a99f.tar.bz2
BUG: make sure cache is cleared
Diffstat (limited to 'Source')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 7349644..cf22c10 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -479,15 +479,10 @@ void CMakeSetupDialog::OnChangeWhereSource()
void CMakeSetupDialog::OnChangeWhereBuild()
{
this->UpdateData();
- std::string cachefile = m_WhereBuild;
- cachefile += "/CMakeCache.txt";
m_CacheEntriesList.RemoveAll();
- if(cmSystemTools::FileExists(cachefile.c_str()))
- {
- m_CacheEntriesList.ShowWindow(SW_SHOW);
- this->LoadCacheFromDiskToGUI();
- m_BuildPathChanged = true;
- }
+ m_CacheEntriesList.ShowWindow(SW_SHOW);
+ this->LoadCacheFromDiskToGUI();
+ m_BuildPathChanged = true;
}