[all-commits] [llvm/llvm-project] 4ba360: [CMake] Fix FindGRPC cmake module to allow differe...

Steven Wu via All-commits all-commits at lists.llvm.org
Wed Oct 12 15:35:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ba360d499f6169d62a9535438b3cf34337ffc67
      https://github.com/llvm/llvm-project/commit/4ba360d499f6169d62a9535438b3cf34337ffc67
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M clang-tools-extra/clangd/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    A clang/cmake/modules/AddGRPC.cmake
    A cmake/Modules/FindGRPC.cmake
    R llvm/cmake/modules/FindGRPC.cmake

  Log Message:
  -----------
  [CMake] Fix FindGRPC cmake module to allow different layering

Take the library target out of `generate_protos` function so the caller
can decide where to layer the library using the source generated from
the function.

Fixes: https://github.com/llvm/llvm-project/issues/58075

Reviewed By: sammccall

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




More information about the All-commits mailing list