summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-14 12:08:27 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-12-14 12:08:49 (GMT)
commit4cdf951f076267de569b5757dca71a88850e6162 (patch)
tree4fe84b166600e44ce299c34850f436e1919f419b /Source
parent04ed1e73dd57dde828414d5a6c3453845a07b6ad (diff)
parent63db7ae9c40a806494dc81b9ae2940fe91a6aad7 (diff)
downloadCMake-4cdf951f076267de569b5757dca71a88850e6162.zip
CMake-4cdf951f076267de569b5757dca71a88850e6162.tar.gz
CMake-4cdf951f076267de569b5757dca71a88850e6162.tar.bz2
Merge topic 'install-properties' into release-3.19
63db7ae9c4 cmake: Clear INSTALL file properties between runs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5603
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 60a493c..e655634 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -286,6 +286,8 @@ void cmake::CleanupCommandsAndMacros()
this->CurrentSnapshot = this->State->Reset();
this->State->RemoveUserDefinedCommands();
this->CurrentSnapshot.SetDefaultDefinitions();
+ // FIXME: InstalledFiles probably belongs in the global generator.
+ this->InstalledFiles.clear();
}
#ifndef CMAKE_BOOTSTRAP