[clang-tools-extra] 0e2d4bd - [clangd] Fix gRPC build due to missing include path

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 1 00:33:36 PDT 2021


Author: Sam McCall
Date: 2021-07-01T09:33:29+02:00
New Revision: 0e2d4bd4bfa516977d027ece8597fc8dd1f3c656

URL: https://github.com/llvm/llvm-project/commit/0e2d4bd4bfa516977d027ece8597fc8dd1f3c656
DIFF: https://github.com/llvm/llvm-project/commit/0e2d4bd4bfa516977d027ece8597fc8dd1f3c656.diff

LOG: [clangd] Fix gRPC build due to missing include path

Added: 
    

Modified: 
    clang-tools-extra/clangd/index/remote/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/index/remote/CMakeLists.txt b/clang-tools-extra/clangd/index/remote/CMakeLists.txt
index beae5be405e08..51db6a7a141ee 100644
--- a/clang-tools-extra/clangd/index/remote/CMakeLists.txt
+++ b/clang-tools-extra/clangd/index/remote/CMakeLists.txt
@@ -14,6 +14,7 @@ if (CLANGD_ENABLE_REMOTE)
     )
   include_directories(${CMAKE_CURRENT_BINARY_DIR})
   include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../)
+  include_directories(${CMAKE_CURRENT_BINARY_DIR}/../../)
 
   # FIXME(kirillbobyrev): target_compile_definitions is not working with
   # add_clang_library for some reason. Is there any way to make this


        


More information about the cfe-commits mailing list