You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While @jcar87 was fixing issues with boost in Conan 2 for conan-io/conan-center-index#15105, we found that
in 1.0, you could use something like if your_dependency in self.requires (Or a similar syntax).
Now in 2.0, you need to do if self.dependencies.get(your_dependencies), which looks fine, but having the option to be more pythonic could also be a good alternative
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
What is your question?
While @jcar87 was fixing issues with boost in Conan 2 for conan-io/conan-center-index#15105, we found that
in 1.0, you could use something like
if your_dependency in self.requires
(Or a similar syntax).Now in 2.0, you need to do
if self.dependencies.get(your_dependencies)
, which looks fine, but having the option to be more pythonic could also be a good alternativeHave you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: