[clang-tools-extra] [cmake] Link against libclang-cpp whenever possible
[lldb.git] / clang-tools-extra / clangd / indexer / CMakeLists.txt
1 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../)
2
3 set(LLVM_LINK_COMPONENTS
4     Support
5     )
6
7 add_clang_executable(clangd-indexer
8   IndexerMain.cpp
9   )
10
11 clang_target_link_libraries(clangd-indexer
12   PRIVATE
13   clangAST
14   clangBasic
15   clangFrontend
16   clangIndex
17   clangLex
18   clangTooling
19 )
20 target_link_libraries(clangd-indexer
21   PRIVATE
22   clangDaemon
23 )