diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-04-20 18:06:52 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-04-20 19:36:20 (GMT) |
commit | c2194176db8248d63e8e8b77740bf9a1285f3680 (patch) | |
tree | 522c6529119e6ef831882e9dfe5ab8f2ec38baae /Source/cmInstallExportGenerator.cxx | |
parent | 233997a914af8341527eddd83a09fcc0f383ec65 (diff) | |
download | CMake-c2194176db8248d63e8e8b77740bf9a1285f3680.zip CMake-c2194176db8248d63e8e8b77740bf9a1285f3680.tar.gz CMake-c2194176db8248d63e8e8b77740bf9a1285f3680.tar.bz2 |
generated-scripts: unset used variables
Diffstat (limited to 'Source/cmInstallExportGenerator.cxx')
-rw-r--r-- | Source/cmInstallExportGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx index eadfd2e..18ce601 100644 --- a/Source/cmInstallExportGenerator.cxx +++ b/Source/cmInstallExportGenerator.cxx @@ -206,7 +206,9 @@ void cmInstallExportGenerator::GenerateScriptActions(std::ostream& os, << "\\\" will be replaced. Removing files [${_cmake_old_config_files}].\")\n"; os << indentNNN << "file(REMOVE ${_cmake_old_config_files})\n"; os << indentNN << "endif()\n"; + os << indentNN << "unset(_cmake_old_config_files)\n"; os << indentN << "endif()\n"; + os << indentN << "unset(_cmake_export_file_changed)\n"; os << indent << "endif()\n"; /* clang-format on */ |