aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/generator/makefilegenerator/makefilegenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/generator/makefilegenerator/makefilegenerator.cpp')
-rw-r--r--src/plugins/generator/makefilegenerator/makefilegenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/generator/makefilegenerator/makefilegenerator.cpp b/src/plugins/generator/makefilegenerator/makefilegenerator.cpp
index e07dda133..abea0c0b0 100644
--- a/src/plugins/generator/makefilegenerator/makefilegenerator.cpp
+++ b/src/plugins/generator/makefilegenerator/makefilegenerator.cpp
@@ -293,7 +293,7 @@ void qbs::MakefileGenerator::generate()
stream << "install-" << productTarget << ": " << productTarget << '\n';
Set<QString> createdDirs;
const auto installableArtifacts = productData.installableArtifacts();
- for (const ArtifactData &artifact : productData.installableArtifacts()) {
+ for (const ArtifactData &artifact : installableArtifacts) {
const QString &outputDir = artifact.installData().localInstallDir();
if (outputDir.contains(QLatin1Char(' '))) {
logger().qbsWarning() << Tr::tr("Skipping installation of '%1', because "