Merge topic 'install-properties'

63db7ae9c4 cmake: Clear INSTALL file properties between runs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5603
This commit is contained in:
Brad King
2020-12-14 12:08:27 +00:00
committed by Kitware Robot

View File

@@ -411,6 +411,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