Merge topic 'try-compile-cleanup-dirs'

953257c try_compile: Cleanup temporary directories (#13160)
This commit is contained in:
David Cole 2012-05-01 14:08:03 -04:00 committed by CMake Topic Stage
commit d9427c9667
1 changed files with 1 additions and 0 deletions

View File

@ -404,6 +404,7 @@ void cmCoreTryCompile::CleanupFiles(const char* binDir)
if(cmSystemTools::FileIsDirectory(fullPath.c_str()))
{
this->CleanupFiles(fullPath.c_str());
cmSystemTools::RemoveADirectory(fullPath.c_str());
}
else
{