mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
BUG: make sure cache is cleared
This commit is contained in:
parent
556d27c9eb
commit
42e3ee8c05
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user