Merge topic 'try-compile-cleanup-dirs'
953257c
try_compile: Cleanup temporary directories (#13160)
This commit is contained in:
commit
d9427c9667
|
@ -404,6 +404,7 @@ void cmCoreTryCompile::CleanupFiles(const char* binDir)
|
||||||
if(cmSystemTools::FileIsDirectory(fullPath.c_str()))
|
if(cmSystemTools::FileIsDirectory(fullPath.c_str()))
|
||||||
{
|
{
|
||||||
this->CleanupFiles(fullPath.c_str());
|
this->CleanupFiles(fullPath.c_str());
|
||||||
|
cmSystemTools::RemoveADirectory(fullPath.c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue