Skip to content

Commit 70defcf

Browse files
committed
Fix CMake for MLIR lsp servers
1 parent 55f2046 commit 70defcf

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ add_mlir_library(MLIRLspServerLib
77
ADDITIONAL_HEADER_DIRS
88
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/mlir-lsp-server
99

10+
LINK_COMPONENTS
11+
SupportLSP
12+
1013
LINK_LIBS PUBLIC
1114
MLIRBytecodeWriter
1215
MLIRFunctionInterfaces
1316
MLIRIR
1417
MLIRLspServerSupportLib
1518
MLIRParser
16-
LLVMSupportLSP
1719
)

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ llvm_add_library(MLIRPdllLspServerLib
77
ADDITIONAL_HEADER_DIRS
88
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/mlir-pdll-lsp-server
99

10+
LINK_COMPONENTS
11+
SupportLSP
12+
1013
LINK_LIBS PUBLIC
1114
MLIRPDLLCodeGen
1215
MLIRPDLLParser
1316
MLIRLspServerSupportLib
14-
LLVMSupportLSP
1517
)

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ llvm_add_library(TableGenLspServerLib
1212
ADDITIONAL_HEADER_DIRS
1313
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/tblgen-lsp-server
1414

15+
LINK_COMPONENTS
16+
SupportLSP
17+
1518
DISABLE_LLVM_LINK_LLVM_DYLIB
1619

1720
LINK_LIBS PUBLIC
1821
MLIRLspServerSupportLib
1922
MLIRSupport
20-
LLVMSupportLSP
2123
)

0 commit comments

Comments
 (0)