[all-commits] [llvm/llvm-project] ba6880: [FindGRPC.cmake] Use `llvm_add_library()` for the ...

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Wed Aug 17 09:43:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba688024077c3e51c6a0949246b2a1b76284e681
      https://github.com/llvm/llvm-project/commit/ba688024077c3e51c6a0949246b2a1b76284e681
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2022-08-17 (Wed, 17 Aug 2022)

  Changed paths:
    M llvm/cmake/modules/FindGRPC.cmake

  Log Message:
  -----------
  [FindGRPC.cmake] Use `llvm_add_library()` for the custom proto target instead of `add_llvm_library()`

`add_llvm_library()` would cause the proto target to be added in `LLVMExports.cmake` and could fail an external configuration
of compiler-rt with error "The following imported targets are referenced, but are missing: grpc++ protobuf::libprotobuf"

Differential Revision: https://reviews.llvm.org/D132033




More information about the All-commits mailing list