Skip to content

Commit

Permalink
add empty layout for the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Oct 27, 2022
1 parent 3750106 commit b338e49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/grpc/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ def configure(self):
self.options["googleapis"].shared = True
self.options["grpc-proto"].shared = True

def layout(self):
pass

def requirements(self):
if is_msvc(self) and Version(self.version) < "1.47":
self.requires("abseil/20211102.0")
Expand Down Expand Up @@ -401,6 +404,7 @@ def corefoundation():

def package_info(self):
self.cpp_info.set_property("cmake_file_name", "gRPC")
self.cpp_info.resdirs = ["res"]
ssl_roots_file_path = os.path.join(self.package_folder, "res", "grpc", "roots.pem")
self.runenv_info.define_path("GRPC_DEFAULT_SSL_ROOTS_FILE_PATH", ssl_roots_file_path)
self.env_info.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH = ssl_roots_file_path # remove in conan v2?
Expand Down

0 comments on commit b338e49

Please sign in to comment.