diff options
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index 113751a..7015a01 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -1214,7 +1214,7 @@ bool cmExportFileGenerator::PopulateExportProperties( cmGeneratorTarget* gte, ImportPropertyMap& properties, std::string& errorMessage) { - auto& targetProperties = gte->Target->GetProperties(); + const auto& targetProperties = gte->Target->GetProperties(); if (cmProp exportProperties = targetProperties.GetPropertyValue("EXPORT_PROPERTIES")) { for (auto& prop : cmExpandedList(*exportProperties)) { |