Skip to content

Commit

Permalink
consider revision for build_requires
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten-klein committed Sep 6, 2023
1 parent 73a2658 commit 84c5373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conans/client/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def load_virtual(self, references, profile_host, scope_options=True,
conanfile.settings = profile_host.processed_settings.copy_values()

if is_build_require:
conanfile.build_requires = [str(r) for r in references]
conanfile.build_requires = [r for r in references]
else:
for reference in references:
conanfile.requires.add_ref(reference)
Expand Down

0 comments on commit 84c5373

Please sign in to comment.