Skip to content

Commit

Permalink
secure option doesn't affect package_id
Browse files Browse the repository at this point in the history
this option doesn't exist upstream. It's a hack to hide unsecure components in global target generated by conan.
  • Loading branch information
SpaceIm committed Jan 25, 2022
1 parent f007883 commit 132d924
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/grpc/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ def validate(self):
if self.settings.compiler.get_safe("cppstd"):
tools.check_min_cppstd(self, 11)

def package_id(self):
del self.info.options.secure

def build_requirements(self):
if hasattr(self, "settings_build"):
self.build_requires('protobuf/3.17.1')
Expand Down

0 comments on commit 132d924

Please sign in to comment.