[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-query / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   lineeditor
3   support
4   FrontendOpenMP
5   )
6
7 add_clang_library(clangQuery
8   Query.cpp
9   QueryParser.cpp
10   )
11
12 clang_target_link_libraries(clangQuery
13   PRIVATE
14   clangAST
15   clangASTMatchers
16   clangBasic
17   clangDynamicASTMatchers
18   clangFrontend
19   clangSerialization
20   )
21
22 add_subdirectory(tool)