From 132d924d632183bca6fd64ea5d997c01b335519e Mon Sep 17 00:00:00 2001 From: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Date: Tue, 25 Jan 2022 16:25:09 +0100 Subject: [PATCH] secure option doesn't affect package_id this option doesn't exist upstream. It's a hack to hide unsecure components in global target generated by conan. --- recipes/grpc/all/conanfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/grpc/all/conanfile.py b/recipes/grpc/all/conanfile.py index a0c7746588311..9b0bcb1e5def7 100644 --- a/recipes/grpc/all/conanfile.py +++ b/recipes/grpc/all/conanfile.py @@ -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')