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()
|
void CMakeSetupDialog::OnChangeWhereBuild()
|
||||||
{
|
{
|
||||||
this->UpdateData();
|
this->UpdateData();
|
||||||
std::string cachefile = m_WhereBuild;
|
|
||||||
cachefile += "/CMakeCache.txt";
|
|
||||||
m_CacheEntriesList.RemoveAll();
|
m_CacheEntriesList.RemoveAll();
|
||||||
if(cmSystemTools::FileExists(cachefile.c_str()))
|
m_CacheEntriesList.ShowWindow(SW_SHOW);
|
||||||
{
|
this->LoadCacheFromDiskToGUI();
|
||||||
m_CacheEntriesList.ShowWindow(SW_SHOW);
|
m_BuildPathChanged = true;
|
||||||
this->LoadCacheFromDiskToGUI();
|
|
||||||
m_BuildPathChanged = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user