From 42e3ee8c0501e6263bedc10a6801348cee50a99f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 16 Jul 2001 10:15:17 -0400 Subject: BUG: make sure cache is cleared --- Source/MFCDialog/CMakeSetupDialog.cpp | 11 +++-------- 1 file 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; } -- cgit v0.12