diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 14:15:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 14:15:17 (GMT) |
commit | 42e3ee8c0501e6263bedc10a6801348cee50a99f (patch) | |
tree | c53e119bcc25c4003ef2955136af787c0c0fb0f9 /Source | |
parent | 556d27c9eb075dfedb4c1262d51138f2ddf5daad (diff) | |
download | CMake-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.cpp | 11 |
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; } |