generated-scripts: quote variable expansions

This commit is contained in:
Ben Boeckel
2022-04-20 14:05:07 -04:00
parent d74761b181
commit 2ec44be41e
2 changed files with 5 additions and 5 deletions

View File

@@ -257,7 +257,7 @@ void cmExportInstallFileGenerator::LoadConfigFiles(std::ostream& os)
<< "file(GLOB _cmake_config_files \"${_DIR}/"
<< this->GetConfigImportFileGlob() << "\")\n"
<< "foreach(_cmake_config_file ${_cmake_config_files})\n"
<< " include(${_cmake_config_file})\n"
<< " include(\"${_cmake_config_file}\")\n"
<< "endforeach()\n"
<< "\n";
/* clang-format on */