This is an archive of the discontinued LLVM Phabricator instance.

[FindGRPC.cmake] Use `llvm_add_library()` for the custom proto target instead of `add_llvm_library()`
ClosedPublic

Authored by akyrtzi on Aug 17 2022, 8:21 AM.

Details

Summary

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"

Diff Detail