Skip to content

#175 Do not allow requires.add (KB-H044) #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 4, 2020

Conversation

uilianries
Copy link
Member

@uilianries uilianries commented Apr 14, 2020

closes #175

Wiki:

#KB-H044: "NO REQUIRES.ADD()"

Both self.requires.add() and self.build_requires.add() have been deprecated in favor of self.requires() and self.build_requires() which were introduced on Conan 1.x. Both add() were introduced during Conan 0.x and since Conan 1.23 they no longer follow the original behavior.

@uilianries
Copy link
Member Author

/cc @jgsogo @SSE4

@uilianries uilianries requested review from danimtb, jgsogo and SSE4 April 14, 2020 19:34
@danimtb
Copy link
Member

danimtb commented May 4, 2020

Updated conan-center-index wiki. Thanks!

@danimtb danimtb merged commit 5580298 into conan-io:master May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[conan center] check self.requires.add (and self.build_requires.add)
4 participants