[clang-tidy][NFC]remove deps of clang in clang tidy test (#116588)
[llvm-project.git] / mlir / tools / mlir-pdll / CMakeLists.txt
blob35b8870a1b1a6c20e80b7e7b6b89107b0a041faa
1 set(LLVM_LINK_COMPONENTS
2   Demangle
3   Support
4   TableGen
7 set(LIBS
8   MLIRIR
9   MLIRPDLLAST
10   MLIRPDLLCodeGen
11   MLIRPDLLODS
12   MLIRPDLLParser
13   )
15 add_tablegen(mlir-pdll MLIR_PDLL
16   DESTINATION "${MLIR_TOOLS_INSTALL_DIR}"
17   EXPORT MLIR
18   mlir-pdll.cpp
20   DEPENDS
21   ${LIBS}
22   )
24 target_link_libraries(mlir-pdll PRIVATE ${LIBS})
26 mlir_check_all_link_libraries(mlir-pdll)