summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-05-01 18:08:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-05-01 18:08:03 (GMT)
commitd9427c9667bc01fce49d0299115a63867ea25a75 (patch)
treeced89a9e89f697463adfb8302e93eede9934b923
parent58cc3d1fc41501c00225117d57fcb98d96212b10 (diff)
parent953257ca611526c9a161a22e5148802be1c67649 (diff)
downloadCMake-d9427c9667bc01fce49d0299115a63867ea25a75.zip
CMake-d9427c9667bc01fce49d0299115a63867ea25a75.tar.gz
CMake-d9427c9667bc01fce49d0299115a63867ea25a75.tar.bz2
Merge topic 'try-compile-cleanup-dirs'
953257c try_compile: Cleanup temporary directories (#13160)
-rw-r--r--Source/cmCoreTryCompile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 48f644b..ed485e3 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -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
{