diff options
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index f7f3b71..30f482f 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1571,7 +1571,8 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output) cmListFileCache::GetInstance()->ClearCache(); int retv = this->RunCMakeAndTest(output); cmSystemTools::ResetErrorOccuredFlag(); - cmListFileCache::GetInstance()->ClearCache(); + cmListFileCache* lf = cmListFileCache::GetInstance(); + lf->ClearCache(); #ifdef CMAKE_BUILD_WITH_CMAKE cmDynamicLoader::FlushCache(); #endif |