Skip to content

Commit 55f2046

Browse files
committed
Make SupportLSP a component library
1 parent 3b4eeea commit 55f2046

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
add_llvm_library(LLVMSupportLSP STATIC
1+
add_llvm_component_library(LLVMSupportLSP
22
Protocol.cpp
33
Transport.cpp
44
Logging.cpp
55

6-
ADDITIONAL_HEADER_DIRS
7-
${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/LSP
8-
9-
LINK_LIBS
6+
DEPENDS
107
LLVMSupport
118
)

mlir/lib/Tools/lsp-server-support/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ add_mlir_library(MLIRLspServerSupportLib
55
ADDITIONAL_HEADER_DIRS
66
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/lsp-server-support
77

8+
LINK_COMPONENTS
9+
SupportLSP
10+
811
LINK_LIBS PUBLIC
912
MLIRSupport
10-
LLVMSupportLSP
11-
)
13+
)

0 commit comments

Comments
 (0)