diff options
Diffstat (limited to 'src/lib/buildgraph/buildgraphloader.cpp')
| -rw-r--r-- | src/lib/buildgraph/buildgraphloader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/buildgraph/buildgraphloader.cpp b/src/lib/buildgraph/buildgraphloader.cpp index da0506e91..76ee12626 100644 --- a/src/lib/buildgraph/buildgraphloader.cpp +++ b/src/lib/buildgraph/buildgraphloader.cpp @@ -508,6 +508,8 @@ void BuildGraphLoader::onProductFileListChanged(const ResolvedProductPtr &produc // Discard groups of the old product. Use the groups of the new one. product->groups = changedProduct->groups; product->properties = changedProduct->properties; + if (!product->enabled) + return; // apply rules for new artifacts foreach (Artifact *artifact, addedArtifacts) |
