Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/tool-template')
-rw-r--r--clang-tools-extra/tool-template/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/clang-tools-extra/tool-template/CMakeLists.txt b/clang-tools-extra/tool-template/CMakeLists.txt
index cf14a9f524c4..8223e4c8881c 100644
--- a/clang-tools-extra/tool-template/CMakeLists.txt
+++ b/clang-tools-extra/tool-template/CMakeLists.txt
@@ -1,6 +1,15 @@
+set(LLVM_LINK_COMPONENTS
+ Support
+ )
+
add_clang_executable(tool-template
ToolTemplate.cpp
)
target_link_libraries(tool-template
- clangEdit clangTooling clangBasic clangAST clangASTMatchers)
+ clangAST
+ clangASTMatchers
+ clangBasic
+ clangFrontend
+ clangTooling
+ )