summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-09-07 14:42:52 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-09-07 14:43:14 (GMT)
commitecfc63a9b0e73b2c9525a4ba65ceb22759ab00fd (patch)
tree52b87b02b7b422227ad07148857ad8dedab46636 /Source/cmake.cxx
parenta64aa9bd300b2df2441d8e07ec3e2afe3069b04e (diff)
parentaa9220d3a0c4a5b15a9a590ed75afedff38764fe (diff)
downloadCMake-ecfc63a9b0e73b2c9525a4ba65ceb22759ab00fd.zip
CMake-ecfc63a9b0e73b2c9525a4ba65ceb22759ab00fd.tar.gz
CMake-ecfc63a9b0e73b2c9525a4ba65ceb22759ab00fd.tar.bz2
Merge topic 'try_compile-unique-bindir'
aa9220d3a0 try_compile: Add keyword-dispatched signature d1befe5515 cmSystemTools: Add MakeTempDirectory Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Matthew Woehlke <matthew.woehlke@kitware.com> Merge-request: !7579
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index b905caa..281e63f 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2139,6 +2139,9 @@ int cmake::ActualConfigure()
this->UpdateConversionPathTable();
this->CleanupCommandsAndMacros();
+ cmSystemTools::RemoveADirectory(this->GetHomeOutputDirectory() +
+ "/CMakeFiles/CMakeScratch");
+
int res = this->DoPreConfigureChecks();
if (res < 0) {
return -2;